Files
libreoffice/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx

652 lines
28 KiB
C++
Raw Normal View History

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <svl/zforlist.hxx>
2003-10-06 08:58:36 +00:00
#include "dlg_ObjectProperties.hxx"
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
#include "ResourceIds.hrc"
#include "Strings.hrc"
2003-10-06 08:58:36 +00:00
#include "tp_AxisLabel.hxx"
#include "tp_DataLabel.hxx"
#include "tp_LegendPosition.hxx"
#include "tp_PointGeometry.hxx"
#include "tp_Scale.hxx"
2008-12-12 12:17:17 +00:00
#include "tp_AxisPositions.hxx"
#include "tp_ErrorBars.hxx"
#include "tp_Trendline.hxx"
2003-10-06 08:58:36 +00:00
#include "tp_SeriesToAxis.hxx"
#include "tp_TitleRotation.hxx"
#include "tp_PolarOptions.hxx"
2003-10-06 08:58:36 +00:00
#include "ResId.hxx"
#include "ViewElementListProvider.hxx"
#include "macros.hxx"
#include "ChartModelHelper.hxx"
#include "ChartTypeHelper.hxx"
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
#include "ObjectNameProvider.hxx"
#include "DiagramHelper.hxx"
#include "NumberFormatterWrapper.hxx"
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
#include "AxisIndexDefines.hxx"
2008-12-12 12:17:17 +00:00
#include "AxisHelper.hxx"
#include "ExplicitCategoriesProvider.hxx"
#include "ChartModel.hxx"
#include "CommonConverters.hxx"
#include "RegressionCalculationHelper.hxx"
2008-12-12 12:17:17 +00:00
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
#include <com/sun/star/chart2/XAxis.hpp>
#include <com/sun/star/chart2/XChartType.hpp>
#include <com/sun/star/chart2/XDataSeries.hpp>
#include <svl/intitem.hxx>
#include <svl/languageoptions.hxx>
#include <svx/svxids.hrc>
#include <svx/drawitem.hxx>
#include <svx/ofaitem.hxx>
#include <svx/svxgrahicitem.hxx>
2003-10-06 08:58:36 +00:00
#include <svx/dialogs.hrc>
#include <editeng/flstitem.hxx>
2003-10-06 08:58:36 +00:00
#include <svx/tabline.hxx>
2004-05-12 14:24:22 +00:00
#include <svx/flagsdef.hxx>
2003-10-06 08:58:36 +00:00
#include <svx/numinf.hxx>
#include <svl/cjkoptions.hxx>
CWS-TOOLING: integrate CWS chart37 2009-05-22 09:10:36 +0200 iha r272170 : #i102130# color of pies is not loaded correctly 2009-04-27 17:16:20 +0200 iha r271294 : #i24203# compiler problem 2009-04-27 16:43:21 +0200 iha r271292 : #i101281# missing API documentation for secondary axis title properties 2009-04-27 15:26:05 +0200 hde r271276 : #i100987 2009-04-27 15:24:42 +0200 hde r271273 : #i100987 2009-04-24 15:08:33 +0200 iha r271214 : #i100995# crash with some logarithmic scalings 2009-04-22 18:50:56 +0200 dr r271134 : #i82177# write out deleted point labels 2009-04-22 18:40:48 +0200 iha r271133 : #i101281# missing API documentation for secondary axis title properties 2009-04-22 16:39:42 +0200 dr r271128 : #i82177# extensions for bubble charts 2009-04-22 14:37:00 +0200 dr r271114 : #i82177# import/export data label type and separator 2009-04-22 14:36:24 +0200 dr r271113 : #i82177# import/export data label type and separator 2009-04-21 15:25:26 +0200 dr r271038 : #i82177# import data label type and separator from BIFF8 CHFR records 2009-04-21 14:37:16 +0200 dr r271037 : #i82177# dump BIFF8 chart future records 2009-04-20 17:44:27 +0200 iha r271002 : #i96898# reduce library exports 2009-04-20 13:01:13 +0200 iha r270975 : #i24203# rotate data labels - help ids 2009-04-20 11:40:33 +0200 dr r270969 : #i96600# export of axis scaling/positioning properties 2009-04-16 16:02:31 +0200 dr r270892 : #i69599# keep Y axis left in 3d charts 2009-04-15 18:16:46 +0200 dr r270859 : #i69599# import of axis position settings 2009-04-15 18:16:01 +0200 dr r270858 : #i69599# correct handling of logarithmic crossing axes 2009-04-14 16:27:48 +0200 dr r270794 : #i96599# handle auto axis position on logarithmic axes 2009-04-09 19:59:51 +0200 dr r270722 : #i96599# import axis crossing settings, fix import of logarithmic scaling settings 2009-04-09 18:26:00 +0200 iha r270720 : #i96898# reduce library exports 2009-04-09 15:17:04 +0200 iha r270710 : #i96898# reduce library exports 2009-04-09 10:50:14 +0200 dr r270682 : #i24203# import/export of data label rotation, fixed some other broken stuff too 2009-04-08 16:54:54 +0200 dr r270657 : #i24203# import rotation for data point labels 2009-04-06 18:19:17 +0200 iha r270571 : #i100876# Axis scaling settings dialog wrong after API usage (anys different from double type) 2009-04-06 15:57:05 +0200 iha r270567 : #i100105# #i58585# leftover -> 2009-04-06 15:55:48 +0200 iha r270564 : #i58585# leftover -> 2009-04-02 16:41:07 +0200 iha r270422 : #i99721# remove unused code 2009-04-02 14:29:03 +0200 iha r270407 : #i99721# remove unused code 2009-03-26 10:58:23 +0100 iha r270059 : #i96898# reduce library exports 2009-03-26 10:13:49 +0100 iha r270055 : #i96898# reduce library exports 2009-03-25 09:39:13 +0100 iha r269998 : CWS-TOOLING: rebase CWS chart37 to trunk@269781 (milestone: DEV300:m44) 2009-03-24 17:56:56 +0100 iha r269986 : #i96898# reduce library exports 2009-03-24 16:56:44 +0100 iha r269974 : #i99721# remove unused code 2009-03-24 16:48:48 +0100 iha r269970 : #i89731# remove unused string 2009-03-24 15:44:04 +0100 iha r269961 : remove unused code 2009-03-24 15:22:45 +0100 iha r269959 : remove unused code 2009-03-24 15:17:17 +0100 iha r269957 : remove unused code 2009-03-24 11:14:53 +0100 iha r269923 : #i24203# rotate data labels 2009-03-09 12:10:25 +0100 hde r269076 : #i99300# 2009-03-06 15:56:26 +0100 iha r269011 : #i93953# Source Format for secondary axis without data 2009-02-17 15:59:05 +0100 iha r268177 : avoid warning during build 2009-02-17 15:01:59 +0100 iha r268173 : avoid warning during build 2009-02-13 09:39:03 +0100 ufi r267693 : i96999 2009-02-11 15:12:35 +0100 iha r267604 : removed unused string 2009-02-11 14:00:29 +0100 iha r267600 : #i96999# Corrected wording from 'correlation coefficient' to 'coefficient of determination' 2009-02-11 10:56:45 +0100 iha r267584 : #i89731# typo in resource string 2009-02-11 10:01:29 +0100 iha r267582 : #i89031# compile error on asian windows systems 2009-02-10 16:15:16 +0100 iha r267552 : #i24203# rotate data labels 2009-02-04 18:00:33 +0100 iha r267395 : #i98893# don't export defaults to file 2009-02-04 15:48:15 +0100 iha r267390 : #i92128# asian typography for chart elements 2009-02-04 15:17:41 +0100 iha r267386 : #i92128# asian typography for chart elements 2009-01-30 14:41:10 +0100 iha r267197 : CWS-TOOLING: rebase CWS chart37 to trunk@267171 (milestone: DEV300:m41)
2009-06-04 09:41:18 +00:00
2003-10-06 08:58:36 +00:00
namespace chart
{
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
2008-12-12 12:17:17 +00:00
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::uno::Exception;
using ::com::sun::star::beans::XPropertySet;
ObjectPropertiesDialogParameter::ObjectPropertiesDialogParameter( const OUString& rObjectCID )
: m_aObjectCID( rObjectCID )
, m_eObjectType( ObjectIdentifier::getObjectType( m_aObjectCID ) )
, m_bAffectsMultipleObjects(false)
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
, m_aLocalizedName()
, m_bHasGeometryProperties(false)
, m_bHasStatisticProperties(false)
, m_bProvidesSecondaryYAxis(false)
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
, m_bProvidesOverlapAndGapWidth(false)
, m_bProvidesBarConnectors(false)
, m_bHasAreaProperties(false)
, m_bHasSymbolProperties(false)
, m_bHasNumberProperties(false)
, m_bProvidesStartingAngle(false)
, m_bProvidesMissingValueTreatments(false)
2008-12-12 12:17:17 +00:00
, m_bHasScaleProperties(false)
, m_bCanAxisLabelsBeStaggered(false)
, m_bSupportingAxisPositioning(false)
, m_bShowAxisOrigin(false)
, m_bIsCrossingAxisIsCategoryAxis(false)
, m_aCategories()
, m_xChartDocument( 0 )
, m_bComplexCategoriesAxis( false )
, m_nNbPoints( 0 )
{
OUString aParticleID = ObjectIdentifier::getParticleID( m_aObjectCID );
m_bAffectsMultipleObjects = (aParticleID == "ALLELEMENTS");
}
ObjectPropertiesDialogParameter::~ObjectPropertiesDialogParameter()
{
}
void ObjectPropertiesDialogParameter::init( const uno::Reference< frame::XModel >& xChartModel )
{
m_xChartDocument.set( xChartModel, uno::UNO_QUERY );
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
uno::Reference< XDiagram > xDiagram( ChartModelHelper::findDiagram( xChartModel ) );
uno::Reference< XDataSeries > xSeries = ObjectIdentifier::getDataSeriesForCID( m_aObjectCID, xChartModel );
uno::Reference< XChartType > xChartType = ChartModelHelper::getChartTypeOfSeries( xChartModel, xSeries );
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
sal_Int32 nDimensionCount = DiagramHelper::getDimension( xDiagram );
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 bHasSeriesProperties = (OBJECTTYPE_DATA_SERIES==m_eObjectType);
bool bHasDataPointproperties = (OBJECTTYPE_DATA_POINT==m_eObjectType);
if( bHasSeriesProperties || bHasDataPointproperties )
{
m_bHasGeometryProperties = ChartTypeHelper::isSupportingGeometryProperties( xChartType, nDimensionCount );
m_bHasAreaProperties = ChartTypeHelper::isSupportingAreaProperties( xChartType, nDimensionCount );
m_bHasSymbolProperties = ChartTypeHelper::isSupportingSymbolProperties( xChartType, nDimensionCount );
if( bHasSeriesProperties )
{
m_bHasStatisticProperties = ChartTypeHelper::isSupportingStatisticProperties( xChartType, nDimensionCount );
m_bProvidesSecondaryYAxis = ChartTypeHelper::isSupportingSecondaryAxis( xChartType, nDimensionCount, 1 );
m_bProvidesOverlapAndGapWidth = ChartTypeHelper::isSupportingOverlapAndGapWidthProperties( xChartType, nDimensionCount );
m_bProvidesBarConnectors = ChartTypeHelper::isSupportingBarConnectors( xChartType, nDimensionCount );
m_bProvidesStartingAngle = ChartTypeHelper::isSupportingStartingAngle( xChartType );
m_bProvidesMissingValueTreatments = ChartTypeHelper::getSupportedMissingValueTreatments( xChartType )
.getLength();
}
}
if( m_eObjectType == OBJECTTYPE_DATA_ERRORS_X ||
m_eObjectType == OBJECTTYPE_DATA_ERRORS_Y ||
m_eObjectType == OBJECTTYPE_DATA_ERRORS_Z)
m_bHasStatisticProperties = true;
if( OBJECTTYPE_AXIS == m_eObjectType )
{
//show scale properties only for a single axis not for multiselection
m_bHasScaleProperties = !m_bAffectsMultipleObjects;
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
if( m_bHasScaleProperties )
{
uno::Reference< XAxis > xAxis( ObjectIdentifier::getAxisForCID( m_aObjectCID, xChartModel ) );
if( xAxis.is() )
{
2008-12-12 12:17:17 +00:00
//no scale page for series axis
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
ScaleData aData( xAxis->getScaleData() );
if( chart2::AxisType::SERIES == aData.AxisType )
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
m_bHasScaleProperties = false;
2010-11-30 01:45:03 +01:00
if( chart2::AxisType::SERIES != aData.AxisType )
m_bHasNumberProperties = true;
2008-12-12 12:17:17 +00:00
sal_Int32 nCooSysIndex=0;
sal_Int32 nDimensionIndex=0;
sal_Int32 nAxisIndex=0;
if( AxisHelper::getIndicesForAxis( xAxis, xDiagram, nCooSysIndex, nDimensionIndex, nAxisIndex ) )
{
xChartType = AxisHelper::getFirstChartTypeWithSeriesAttachedToAxisIndex( xDiagram, nAxisIndex );
//show positioning controls only if they make sense
m_bSupportingAxisPositioning = ChartTypeHelper::isSupportingAxisPositioning( xChartType, nDimensionCount, nDimensionIndex );
//show axis origin only for secondary y axis
if( 1==nDimensionIndex && 1==nAxisIndex && ChartTypeHelper::isSupportingBaseValue( xChartType ) )
m_bShowAxisOrigin = true;
}
//is the crossin main axis a category axes?:
uno::Reference< XCoordinateSystem > xCooSys( AxisHelper::getCoordinateSystemOfAxis( xAxis, xDiagram ) );
uno::Reference< XAxis > xCrossingMainAxis( AxisHelper::getCrossingMainAxis( xAxis, xCooSys ) );
if( xCrossingMainAxis.is() )
{
ScaleData aScale( xCrossingMainAxis->getScaleData() );
m_bIsCrossingAxisIsCategoryAxis = ( chart2::AxisType::CATEGORY == aScale.AxisType );
if( m_bIsCrossingAxisIsCategoryAxis )
{
ChartModel* pModel = dynamic_cast<ChartModel*>(xChartModel.get());
if (pModel)
m_aCategories = DiagramHelper::getExplicitSimpleCategories( *pModel );
}
2008-12-12 12:17:17 +00:00
}
m_bComplexCategoriesAxis = false;
if ( nDimensionIndex == 0 && aData.AxisType == chart2::AxisType::CATEGORY )
{
ChartModel* pModel = dynamic_cast<ChartModel*>(xChartModel.get());
if (pModel)
{
ExplicitCategoriesProvider aExplicitCategoriesProvider( xCooSys, *pModel );
m_bComplexCategoriesAxis = aExplicitCategoriesProvider.hasComplexCategories();
}
}
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
}
}
//no staggering of labels for 3D axis
m_bCanAxisLabelsBeStaggered = nDimensionCount==2;
}
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
if( OBJECTTYPE_DATA_CURVE == m_eObjectType )
{
uno::Reference< data::XDataSource > xSource( xSeries, uno::UNO_QUERY );
Sequence< Reference< data::XLabeledDataSequence > > aDataSeqs( xSource->getDataSequences());
Sequence< double > aXValues, aYValues;
bool bXValuesFound = false, bYValuesFound = false;
m_nNbPoints = 0;
sal_Int32 i = 0;
for( i=0;
! (bXValuesFound && bYValuesFound) && i<aDataSeqs.getLength();
++i )
{
try
{
Reference< data::XDataSequence > xSeq( aDataSeqs[i]->getValues());
Reference< XPropertySet > xProp( xSeq, uno::UNO_QUERY_THROW );
OUString aRole;
if( xProp->getPropertyValue( "Role" ) >>= aRole )
{
if( !bXValuesFound && aRole == "values-x" )
{
aXValues = DataSequenceToDoubleSequence( xSeq );
bXValuesFound = true;
}
else if( !bYValuesFound && aRole == "values-y" )
{
aYValues = DataSequenceToDoubleSequence( xSeq );
bYValuesFound = true;
}
}
}
catch( const Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
}
if( !bXValuesFound && bYValuesFound )
{
// initialize with 1, 2, ...
//first category (index 0) matches with real number 1.0
aXValues.realloc( aYValues.getLength() );
for( i=0; i<aXValues.getLength(); ++i )
aXValues[i] = i+1;
bXValuesFound = true;
}
if( bXValuesFound && bYValuesFound &&
aXValues.getLength() > 0 &&
aYValues.getLength() > 0 )
{
RegressionCalculationHelper::tDoubleVectorPair aValues(
RegressionCalculationHelper::cleanup( aXValues, aYValues, RegressionCalculationHelper::isValid()));
m_nNbPoints = aValues.second.size();
}
}
//create gui name for this object
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
{
if( !m_bAffectsMultipleObjects && OBJECTTYPE_AXIS == m_eObjectType )
{
m_aLocalizedName = ObjectNameProvider::getAxisName( m_aObjectCID, xChartModel );
}
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
else if( !m_bAffectsMultipleObjects && ( OBJECTTYPE_GRID == m_eObjectType || OBJECTTYPE_SUBGRID == m_eObjectType ) )
{
m_aLocalizedName = ObjectNameProvider::getGridName( m_aObjectCID, xChartModel );
}
else if( !m_bAffectsMultipleObjects && OBJECTTYPE_TITLE == m_eObjectType )
{
m_aLocalizedName = ObjectNameProvider::getTitleName( m_aObjectCID, xChartModel );
}
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
else
{
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
switch( m_eObjectType )
{
case OBJECTTYPE_DATA_POINT:
case OBJECTTYPE_DATA_LABEL:
case OBJECTTYPE_DATA_LABELS:
case OBJECTTYPE_DATA_ERRORS_X:
case OBJECTTYPE_DATA_ERRORS_Y:
case OBJECTTYPE_DATA_ERRORS_Z:
case OBJECTTYPE_DATA_AVERAGE_LINE:
case OBJECTTYPE_DATA_CURVE:
case OBJECTTYPE_DATA_CURVE_EQUATION:
if( m_bAffectsMultipleObjects )
m_aLocalizedName = ObjectNameProvider::getName_ObjectForAllSeries( m_eObjectType );
else
m_aLocalizedName = ObjectNameProvider::getName_ObjectForSeries( m_eObjectType, m_aObjectCID, m_xChartDocument );
break;
default:
m_aLocalizedName = ObjectNameProvider::getName(m_eObjectType,m_bAffectsMultipleObjects);
break;
}
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
}
}
}
const sal_uInt16 nNoArrowNoShadowDlg = 1101;
2003-11-13 14:17:51 +00:00
void SchAttribTabDlg::setSymbolInformation( SfxItemSet* pSymbolShapeProperties,
Graphic* pAutoSymbolGraphic )
2003-10-06 08:58:36 +00:00
{
2003-11-13 14:17:51 +00:00
m_pSymbolShapeProperties = pSymbolShapeProperties;
m_pAutoSymbolGraphic = pAutoSymbolGraphic;
2003-10-06 08:58:36 +00:00
}
void SchAttribTabDlg::SetAxisMinorStepWidthForErrorBarDecimals( double fMinorStepWidth )
{
m_fAxisMinorStepWidthForErrorBarDecimals = fMinorStepWidth;
}
SchAttribTabDlg::SchAttribTabDlg(vcl::Window* pParent,
2003-10-06 08:58:36 +00:00
const SfxItemSet* pAttr,
const ObjectPropertiesDialogParameter* pDialogParameter,
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
const ViewElementListProvider* pViewElementListProvider,
const uno::Reference< util::XNumberFormatsSupplier >& xNumberFormatsSupplier
)
: SfxTabDialog(pParent, "AttributeDialog", "modules/schart/ui/attributedialog.ui", pAttr)
, eObjectType(pDialogParameter->getObjectType())
2003-10-06 08:58:36 +00:00
, nDlgType(nNoArrowNoShadowDlg)
, nPageType(0)
, m_pParameter( pDialogParameter )
2003-10-06 08:58:36 +00:00
, m_pViewElementListProvider( pViewElementListProvider )
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
, m_pNumberFormatter(0)
2003-11-13 14:17:51 +00:00
, m_pSymbolShapeProperties(NULL)
, m_pAutoSymbolGraphic(NULL)
, m_fAxisMinorStepWidthForErrorBarDecimals(0.1)
, m_bOKPressed(false)
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
NumberFormatterWrapper aNumberFormatterWrapper( xNumberFormatsSupplier );
m_pNumberFormatter = aNumberFormatterWrapper.getSvNumberFormatter();
this->SetText( pDialogParameter->getLocalizedName() );
CWS-TOOLING: integrate CWS chart37 2009-05-22 09:10:36 +0200 iha r272170 : #i102130# color of pies is not loaded correctly 2009-04-27 17:16:20 +0200 iha r271294 : #i24203# compiler problem 2009-04-27 16:43:21 +0200 iha r271292 : #i101281# missing API documentation for secondary axis title properties 2009-04-27 15:26:05 +0200 hde r271276 : #i100987 2009-04-27 15:24:42 +0200 hde r271273 : #i100987 2009-04-24 15:08:33 +0200 iha r271214 : #i100995# crash with some logarithmic scalings 2009-04-22 18:50:56 +0200 dr r271134 : #i82177# write out deleted point labels 2009-04-22 18:40:48 +0200 iha r271133 : #i101281# missing API documentation for secondary axis title properties 2009-04-22 16:39:42 +0200 dr r271128 : #i82177# extensions for bubble charts 2009-04-22 14:37:00 +0200 dr r271114 : #i82177# import/export data label type and separator 2009-04-22 14:36:24 +0200 dr r271113 : #i82177# import/export data label type and separator 2009-04-21 15:25:26 +0200 dr r271038 : #i82177# import data label type and separator from BIFF8 CHFR records 2009-04-21 14:37:16 +0200 dr r271037 : #i82177# dump BIFF8 chart future records 2009-04-20 17:44:27 +0200 iha r271002 : #i96898# reduce library exports 2009-04-20 13:01:13 +0200 iha r270975 : #i24203# rotate data labels - help ids 2009-04-20 11:40:33 +0200 dr r270969 : #i96600# export of axis scaling/positioning properties 2009-04-16 16:02:31 +0200 dr r270892 : #i69599# keep Y axis left in 3d charts 2009-04-15 18:16:46 +0200 dr r270859 : #i69599# import of axis position settings 2009-04-15 18:16:01 +0200 dr r270858 : #i69599# correct handling of logarithmic crossing axes 2009-04-14 16:27:48 +0200 dr r270794 : #i96599# handle auto axis position on logarithmic axes 2009-04-09 19:59:51 +0200 dr r270722 : #i96599# import axis crossing settings, fix import of logarithmic scaling settings 2009-04-09 18:26:00 +0200 iha r270720 : #i96898# reduce library exports 2009-04-09 15:17:04 +0200 iha r270710 : #i96898# reduce library exports 2009-04-09 10:50:14 +0200 dr r270682 : #i24203# import/export of data label rotation, fixed some other broken stuff too 2009-04-08 16:54:54 +0200 dr r270657 : #i24203# import rotation for data point labels 2009-04-06 18:19:17 +0200 iha r270571 : #i100876# Axis scaling settings dialog wrong after API usage (anys different from double type) 2009-04-06 15:57:05 +0200 iha r270567 : #i100105# #i58585# leftover -> 2009-04-06 15:55:48 +0200 iha r270564 : #i58585# leftover -> 2009-04-02 16:41:07 +0200 iha r270422 : #i99721# remove unused code 2009-04-02 14:29:03 +0200 iha r270407 : #i99721# remove unused code 2009-03-26 10:58:23 +0100 iha r270059 : #i96898# reduce library exports 2009-03-26 10:13:49 +0100 iha r270055 : #i96898# reduce library exports 2009-03-25 09:39:13 +0100 iha r269998 : CWS-TOOLING: rebase CWS chart37 to trunk@269781 (milestone: DEV300:m44) 2009-03-24 17:56:56 +0100 iha r269986 : #i96898# reduce library exports 2009-03-24 16:56:44 +0100 iha r269974 : #i99721# remove unused code 2009-03-24 16:48:48 +0100 iha r269970 : #i89731# remove unused string 2009-03-24 15:44:04 +0100 iha r269961 : remove unused code 2009-03-24 15:22:45 +0100 iha r269959 : remove unused code 2009-03-24 15:17:17 +0100 iha r269957 : remove unused code 2009-03-24 11:14:53 +0100 iha r269923 : #i24203# rotate data labels 2009-03-09 12:10:25 +0100 hde r269076 : #i99300# 2009-03-06 15:56:26 +0100 iha r269011 : #i93953# Source Format for secondary axis without data 2009-02-17 15:59:05 +0100 iha r268177 : avoid warning during build 2009-02-17 15:01:59 +0100 iha r268173 : avoid warning during build 2009-02-13 09:39:03 +0100 ufi r267693 : i96999 2009-02-11 15:12:35 +0100 iha r267604 : removed unused string 2009-02-11 14:00:29 +0100 iha r267600 : #i96999# Corrected wording from 'correlation coefficient' to 'coefficient of determination' 2009-02-11 10:56:45 +0100 iha r267584 : #i89731# typo in resource string 2009-02-11 10:01:29 +0100 iha r267582 : #i89031# compile error on asian windows systems 2009-02-10 16:15:16 +0100 iha r267552 : #i24203# rotate data labels 2009-02-04 18:00:33 +0100 iha r267395 : #i98893# don't export defaults to file 2009-02-04 15:48:15 +0100 iha r267390 : #i92128# asian typography for chart elements 2009-02-04 15:17:41 +0100 iha r267386 : #i92128# asian typography for chart elements 2009-01-30 14:41:10 +0100 iha r267197 : CWS-TOOLING: rebase CWS chart37 to trunk@267171 (milestone: DEV300:m41)
2009-06-04 09:41:18 +00:00
SvtCJKOptions aCJKOptions;
2003-10-06 08:58:36 +00:00
switch (eObjectType)
{
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
case OBJECTTYPE_TITLE:
AddTabPage(RID_SVXPAGE_LINE, SCH_RESSTR(STR_PAGE_BORDER));
AddTabPage(RID_SVXPAGE_AREA, SCH_RESSTR(STR_PAGE_AREA));
AddTabPage(RID_SVXPAGE_TRANSPARENCE, SCH_RESSTR(STR_PAGE_TRANSPARENCY));
AddTabPage(RID_SVXPAGE_CHAR_NAME, SCH_RESSTR(STR_PAGE_FONT));
AddTabPage(RID_SVXPAGE_CHAR_EFFECTS, SCH_RESSTR(STR_PAGE_FONT_EFFECTS));
AddTabPage(TP_ALIGNMENT, SCH_RESSTR(STR_PAGE_ALIGNMENT), SchAlignmentTabPage::Create, NULL);
CWS-TOOLING: integrate CWS chart37 2009-05-22 09:10:36 +0200 iha r272170 : #i102130# color of pies is not loaded correctly 2009-04-27 17:16:20 +0200 iha r271294 : #i24203# compiler problem 2009-04-27 16:43:21 +0200 iha r271292 : #i101281# missing API documentation for secondary axis title properties 2009-04-27 15:26:05 +0200 hde r271276 : #i100987 2009-04-27 15:24:42 +0200 hde r271273 : #i100987 2009-04-24 15:08:33 +0200 iha r271214 : #i100995# crash with some logarithmic scalings 2009-04-22 18:50:56 +0200 dr r271134 : #i82177# write out deleted point labels 2009-04-22 18:40:48 +0200 iha r271133 : #i101281# missing API documentation for secondary axis title properties 2009-04-22 16:39:42 +0200 dr r271128 : #i82177# extensions for bubble charts 2009-04-22 14:37:00 +0200 dr r271114 : #i82177# import/export data label type and separator 2009-04-22 14:36:24 +0200 dr r271113 : #i82177# import/export data label type and separator 2009-04-21 15:25:26 +0200 dr r271038 : #i82177# import data label type and separator from BIFF8 CHFR records 2009-04-21 14:37:16 +0200 dr r271037 : #i82177# dump BIFF8 chart future records 2009-04-20 17:44:27 +0200 iha r271002 : #i96898# reduce library exports 2009-04-20 13:01:13 +0200 iha r270975 : #i24203# rotate data labels - help ids 2009-04-20 11:40:33 +0200 dr r270969 : #i96600# export of axis scaling/positioning properties 2009-04-16 16:02:31 +0200 dr r270892 : #i69599# keep Y axis left in 3d charts 2009-04-15 18:16:46 +0200 dr r270859 : #i69599# import of axis position settings 2009-04-15 18:16:01 +0200 dr r270858 : #i69599# correct handling of logarithmic crossing axes 2009-04-14 16:27:48 +0200 dr r270794 : #i96599# handle auto axis position on logarithmic axes 2009-04-09 19:59:51 +0200 dr r270722 : #i96599# import axis crossing settings, fix import of logarithmic scaling settings 2009-04-09 18:26:00 +0200 iha r270720 : #i96898# reduce library exports 2009-04-09 15:17:04 +0200 iha r270710 : #i96898# reduce library exports 2009-04-09 10:50:14 +0200 dr r270682 : #i24203# import/export of data label rotation, fixed some other broken stuff too 2009-04-08 16:54:54 +0200 dr r270657 : #i24203# import rotation for data point labels 2009-04-06 18:19:17 +0200 iha r270571 : #i100876# Axis scaling settings dialog wrong after API usage (anys different from double type) 2009-04-06 15:57:05 +0200 iha r270567 : #i100105# #i58585# leftover -> 2009-04-06 15:55:48 +0200 iha r270564 : #i58585# leftover -> 2009-04-02 16:41:07 +0200 iha r270422 : #i99721# remove unused code 2009-04-02 14:29:03 +0200 iha r270407 : #i99721# remove unused code 2009-03-26 10:58:23 +0100 iha r270059 : #i96898# reduce library exports 2009-03-26 10:13:49 +0100 iha r270055 : #i96898# reduce library exports 2009-03-25 09:39:13 +0100 iha r269998 : CWS-TOOLING: rebase CWS chart37 to trunk@269781 (milestone: DEV300:m44) 2009-03-24 17:56:56 +0100 iha r269986 : #i96898# reduce library exports 2009-03-24 16:56:44 +0100 iha r269974 : #i99721# remove unused code 2009-03-24 16:48:48 +0100 iha r269970 : #i89731# remove unused string 2009-03-24 15:44:04 +0100 iha r269961 : remove unused code 2009-03-24 15:22:45 +0100 iha r269959 : remove unused code 2009-03-24 15:17:17 +0100 iha r269957 : remove unused code 2009-03-24 11:14:53 +0100 iha r269923 : #i24203# rotate data labels 2009-03-09 12:10:25 +0100 hde r269076 : #i99300# 2009-03-06 15:56:26 +0100 iha r269011 : #i93953# Source Format for secondary axis without data 2009-02-17 15:59:05 +0100 iha r268177 : avoid warning during build 2009-02-17 15:01:59 +0100 iha r268173 : avoid warning during build 2009-02-13 09:39:03 +0100 ufi r267693 : i96999 2009-02-11 15:12:35 +0100 iha r267604 : removed unused string 2009-02-11 14:00:29 +0100 iha r267600 : #i96999# Corrected wording from 'correlation coefficient' to 'coefficient of determination' 2009-02-11 10:56:45 +0100 iha r267584 : #i89731# typo in resource string 2009-02-11 10:01:29 +0100 iha r267582 : #i89031# compile error on asian windows systems 2009-02-10 16:15:16 +0100 iha r267552 : #i24203# rotate data labels 2009-02-04 18:00:33 +0100 iha r267395 : #i98893# don't export defaults to file 2009-02-04 15:48:15 +0100 iha r267390 : #i92128# asian typography for chart elements 2009-02-04 15:17:41 +0100 iha r267386 : #i92128# asian typography for chart elements 2009-01-30 14:41:10 +0100 iha r267197 : CWS-TOOLING: rebase CWS chart37 to trunk@267171 (milestone: DEV300:m41)
2009-06-04 09:41:18 +00:00
if( aCJKOptions.IsAsianTypographyEnabled() )
AddTabPage(RID_SVXPAGE_PARA_ASIAN, SCH_RESSTR(STR_PAGE_ASIAN));
2003-10-06 08:58:36 +00:00
break;
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
case OBJECTTYPE_LEGEND:
AddTabPage(RID_SVXPAGE_LINE, SCH_RESSTR(STR_PAGE_BORDER));
AddTabPage(RID_SVXPAGE_AREA, SCH_RESSTR(STR_PAGE_AREA));
AddTabPage(RID_SVXPAGE_TRANSPARENCE, SCH_RESSTR(STR_PAGE_TRANSPARENCY));
AddTabPage(RID_SVXPAGE_CHAR_NAME, SCH_RESSTR(STR_PAGE_FONT));
AddTabPage(RID_SVXPAGE_CHAR_EFFECTS, SCH_RESSTR(STR_PAGE_FONT_EFFECTS));
AddTabPage(TP_LEGEND_POS, SCH_RESSTR(STR_PAGE_POSITION), SchLegendPosTabPage::Create, NULL);
CWS-TOOLING: integrate CWS chart37 2009-05-22 09:10:36 +0200 iha r272170 : #i102130# color of pies is not loaded correctly 2009-04-27 17:16:20 +0200 iha r271294 : #i24203# compiler problem 2009-04-27 16:43:21 +0200 iha r271292 : #i101281# missing API documentation for secondary axis title properties 2009-04-27 15:26:05 +0200 hde r271276 : #i100987 2009-04-27 15:24:42 +0200 hde r271273 : #i100987 2009-04-24 15:08:33 +0200 iha r271214 : #i100995# crash with some logarithmic scalings 2009-04-22 18:50:56 +0200 dr r271134 : #i82177# write out deleted point labels 2009-04-22 18:40:48 +0200 iha r271133 : #i101281# missing API documentation for secondary axis title properties 2009-04-22 16:39:42 +0200 dr r271128 : #i82177# extensions for bubble charts 2009-04-22 14:37:00 +0200 dr r271114 : #i82177# import/export data label type and separator 2009-04-22 14:36:24 +0200 dr r271113 : #i82177# import/export data label type and separator 2009-04-21 15:25:26 +0200 dr r271038 : #i82177# import data label type and separator from BIFF8 CHFR records 2009-04-21 14:37:16 +0200 dr r271037 : #i82177# dump BIFF8 chart future records 2009-04-20 17:44:27 +0200 iha r271002 : #i96898# reduce library exports 2009-04-20 13:01:13 +0200 iha r270975 : #i24203# rotate data labels - help ids 2009-04-20 11:40:33 +0200 dr r270969 : #i96600# export of axis scaling/positioning properties 2009-04-16 16:02:31 +0200 dr r270892 : #i69599# keep Y axis left in 3d charts 2009-04-15 18:16:46 +0200 dr r270859 : #i69599# import of axis position settings 2009-04-15 18:16:01 +0200 dr r270858 : #i69599# correct handling of logarithmic crossing axes 2009-04-14 16:27:48 +0200 dr r270794 : #i96599# handle auto axis position on logarithmic axes 2009-04-09 19:59:51 +0200 dr r270722 : #i96599# import axis crossing settings, fix import of logarithmic scaling settings 2009-04-09 18:26:00 +0200 iha r270720 : #i96898# reduce library exports 2009-04-09 15:17:04 +0200 iha r270710 : #i96898# reduce library exports 2009-04-09 10:50:14 +0200 dr r270682 : #i24203# import/export of data label rotation, fixed some other broken stuff too 2009-04-08 16:54:54 +0200 dr r270657 : #i24203# import rotation for data point labels 2009-04-06 18:19:17 +0200 iha r270571 : #i100876# Axis scaling settings dialog wrong after API usage (anys different from double type) 2009-04-06 15:57:05 +0200 iha r270567 : #i100105# #i58585# leftover -> 2009-04-06 15:55:48 +0200 iha r270564 : #i58585# leftover -> 2009-04-02 16:41:07 +0200 iha r270422 : #i99721# remove unused code 2009-04-02 14:29:03 +0200 iha r270407 : #i99721# remove unused code 2009-03-26 10:58:23 +0100 iha r270059 : #i96898# reduce library exports 2009-03-26 10:13:49 +0100 iha r270055 : #i96898# reduce library exports 2009-03-25 09:39:13 +0100 iha r269998 : CWS-TOOLING: rebase CWS chart37 to trunk@269781 (milestone: DEV300:m44) 2009-03-24 17:56:56 +0100 iha r269986 : #i96898# reduce library exports 2009-03-24 16:56:44 +0100 iha r269974 : #i99721# remove unused code 2009-03-24 16:48:48 +0100 iha r269970 : #i89731# remove unused string 2009-03-24 15:44:04 +0100 iha r269961 : remove unused code 2009-03-24 15:22:45 +0100 iha r269959 : remove unused code 2009-03-24 15:17:17 +0100 iha r269957 : remove unused code 2009-03-24 11:14:53 +0100 iha r269923 : #i24203# rotate data labels 2009-03-09 12:10:25 +0100 hde r269076 : #i99300# 2009-03-06 15:56:26 +0100 iha r269011 : #i93953# Source Format for secondary axis without data 2009-02-17 15:59:05 +0100 iha r268177 : avoid warning during build 2009-02-17 15:01:59 +0100 iha r268173 : avoid warning during build 2009-02-13 09:39:03 +0100 ufi r267693 : i96999 2009-02-11 15:12:35 +0100 iha r267604 : removed unused string 2009-02-11 14:00:29 +0100 iha r267600 : #i96999# Corrected wording from 'correlation coefficient' to 'coefficient of determination' 2009-02-11 10:56:45 +0100 iha r267584 : #i89731# typo in resource string 2009-02-11 10:01:29 +0100 iha r267582 : #i89031# compile error on asian windows systems 2009-02-10 16:15:16 +0100 iha r267552 : #i24203# rotate data labels 2009-02-04 18:00:33 +0100 iha r267395 : #i98893# don't export defaults to file 2009-02-04 15:48:15 +0100 iha r267390 : #i92128# asian typography for chart elements 2009-02-04 15:17:41 +0100 iha r267386 : #i92128# asian typography for chart elements 2009-01-30 14:41:10 +0100 iha r267197 : CWS-TOOLING: rebase CWS chart37 to trunk@267171 (milestone: DEV300:m41)
2009-06-04 09:41:18 +00:00
if( aCJKOptions.IsAsianTypographyEnabled() )
AddTabPage(RID_SVXPAGE_PARA_ASIAN, SCH_RESSTR(STR_PAGE_ASIAN));
2003-10-06 08:58:36 +00:00
break;
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
case OBJECTTYPE_DATA_SERIES:
case OBJECTTYPE_DATA_POINT:
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
if( m_pParameter->ProvidesSecondaryYAxis() || m_pParameter->ProvidesOverlapAndGapWidth() || m_pParameter->ProvidesMissingValueTreatments() )
AddTabPage(TP_OPTIONS, SCH_RESSTR(STR_PAGE_OPTIONS),SchOptionTabPage::Create, NULL);
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
if( m_pParameter->ProvidesStartingAngle())
AddTabPage(TP_POLAROPTIONS, SCH_RESSTR(STR_PAGE_OPTIONS),PolarOptionsTabPage::Create, NULL);
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
if( m_pParameter->HasGeometryProperties() )
AddTabPage(TP_LAYOUT, SCH_RESSTR(STR_PAGE_LAYOUT),SchLayoutTabPage::Create, NULL);
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
if(m_pParameter->HasAreaProperties())
2003-10-06 08:58:36 +00:00
{
AddTabPage(RID_SVXPAGE_AREA, SCH_RESSTR(STR_PAGE_AREA));
AddTabPage(RID_SVXPAGE_TRANSPARENCE, SCH_RESSTR(STR_PAGE_TRANSPARENCY));
2003-10-06 08:58:36 +00:00
}
AddTabPage(RID_SVXPAGE_LINE, SCH_RESSTR( m_pParameter->HasAreaProperties() ? STR_PAGE_BORDER : STR_PAGE_LINE ));
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
break;
case OBJECTTYPE_DATA_LABEL:
case OBJECTTYPE_DATA_LABELS:
AddTabPage(RID_SVXPAGE_LINE, SCH_RESSTR(STR_PAGE_BORDER));
AddTabPage(TP_DATA_DESCR, SCH_RESSTR(STR_OBJECT_DATALABELS), DataLabelsTabPage::Create, NULL);
AddTabPage(RID_SVXPAGE_CHAR_NAME, SCH_RESSTR(STR_PAGE_FONT));
AddTabPage(RID_SVXPAGE_CHAR_EFFECTS, SCH_RESSTR(STR_PAGE_FONT_EFFECTS));
CWS-TOOLING: integrate CWS chart37 2009-05-22 09:10:36 +0200 iha r272170 : #i102130# color of pies is not loaded correctly 2009-04-27 17:16:20 +0200 iha r271294 : #i24203# compiler problem 2009-04-27 16:43:21 +0200 iha r271292 : #i101281# missing API documentation for secondary axis title properties 2009-04-27 15:26:05 +0200 hde r271276 : #i100987 2009-04-27 15:24:42 +0200 hde r271273 : #i100987 2009-04-24 15:08:33 +0200 iha r271214 : #i100995# crash with some logarithmic scalings 2009-04-22 18:50:56 +0200 dr r271134 : #i82177# write out deleted point labels 2009-04-22 18:40:48 +0200 iha r271133 : #i101281# missing API documentation for secondary axis title properties 2009-04-22 16:39:42 +0200 dr r271128 : #i82177# extensions for bubble charts 2009-04-22 14:37:00 +0200 dr r271114 : #i82177# import/export data label type and separator 2009-04-22 14:36:24 +0200 dr r271113 : #i82177# import/export data label type and separator 2009-04-21 15:25:26 +0200 dr r271038 : #i82177# import data label type and separator from BIFF8 CHFR records 2009-04-21 14:37:16 +0200 dr r271037 : #i82177# dump BIFF8 chart future records 2009-04-20 17:44:27 +0200 iha r271002 : #i96898# reduce library exports 2009-04-20 13:01:13 +0200 iha r270975 : #i24203# rotate data labels - help ids 2009-04-20 11:40:33 +0200 dr r270969 : #i96600# export of axis scaling/positioning properties 2009-04-16 16:02:31 +0200 dr r270892 : #i69599# keep Y axis left in 3d charts 2009-04-15 18:16:46 +0200 dr r270859 : #i69599# import of axis position settings 2009-04-15 18:16:01 +0200 dr r270858 : #i69599# correct handling of logarithmic crossing axes 2009-04-14 16:27:48 +0200 dr r270794 : #i96599# handle auto axis position on logarithmic axes 2009-04-09 19:59:51 +0200 dr r270722 : #i96599# import axis crossing settings, fix import of logarithmic scaling settings 2009-04-09 18:26:00 +0200 iha r270720 : #i96898# reduce library exports 2009-04-09 15:17:04 +0200 iha r270710 : #i96898# reduce library exports 2009-04-09 10:50:14 +0200 dr r270682 : #i24203# import/export of data label rotation, fixed some other broken stuff too 2009-04-08 16:54:54 +0200 dr r270657 : #i24203# import rotation for data point labels 2009-04-06 18:19:17 +0200 iha r270571 : #i100876# Axis scaling settings dialog wrong after API usage (anys different from double type) 2009-04-06 15:57:05 +0200 iha r270567 : #i100105# #i58585# leftover -> 2009-04-06 15:55:48 +0200 iha r270564 : #i58585# leftover -> 2009-04-02 16:41:07 +0200 iha r270422 : #i99721# remove unused code 2009-04-02 14:29:03 +0200 iha r270407 : #i99721# remove unused code 2009-03-26 10:58:23 +0100 iha r270059 : #i96898# reduce library exports 2009-03-26 10:13:49 +0100 iha r270055 : #i96898# reduce library exports 2009-03-25 09:39:13 +0100 iha r269998 : CWS-TOOLING: rebase CWS chart37 to trunk@269781 (milestone: DEV300:m44) 2009-03-24 17:56:56 +0100 iha r269986 : #i96898# reduce library exports 2009-03-24 16:56:44 +0100 iha r269974 : #i99721# remove unused code 2009-03-24 16:48:48 +0100 iha r269970 : #i89731# remove unused string 2009-03-24 15:44:04 +0100 iha r269961 : remove unused code 2009-03-24 15:22:45 +0100 iha r269959 : remove unused code 2009-03-24 15:17:17 +0100 iha r269957 : remove unused code 2009-03-24 11:14:53 +0100 iha r269923 : #i24203# rotate data labels 2009-03-09 12:10:25 +0100 hde r269076 : #i99300# 2009-03-06 15:56:26 +0100 iha r269011 : #i93953# Source Format for secondary axis without data 2009-02-17 15:59:05 +0100 iha r268177 : avoid warning during build 2009-02-17 15:01:59 +0100 iha r268173 : avoid warning during build 2009-02-13 09:39:03 +0100 ufi r267693 : i96999 2009-02-11 15:12:35 +0100 iha r267604 : removed unused string 2009-02-11 14:00:29 +0100 iha r267600 : #i96999# Corrected wording from 'correlation coefficient' to 'coefficient of determination' 2009-02-11 10:56:45 +0100 iha r267584 : #i89731# typo in resource string 2009-02-11 10:01:29 +0100 iha r267582 : #i89031# compile error on asian windows systems 2009-02-10 16:15:16 +0100 iha r267552 : #i24203# rotate data labels 2009-02-04 18:00:33 +0100 iha r267395 : #i98893# don't export defaults to file 2009-02-04 15:48:15 +0100 iha r267390 : #i92128# asian typography for chart elements 2009-02-04 15:17:41 +0100 iha r267386 : #i92128# asian typography for chart elements 2009-01-30 14:41:10 +0100 iha r267197 : CWS-TOOLING: rebase CWS chart37 to trunk@267171 (milestone: DEV300:m41)
2009-06-04 09:41:18 +00:00
if( aCJKOptions.IsAsianTypographyEnabled() )
AddTabPage(RID_SVXPAGE_PARA_ASIAN, SCH_RESSTR(STR_PAGE_ASIAN));
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
2003-10-06 08:58:36 +00:00
break;
case OBJECTTYPE_AXIS:
{
2008-12-12 12:17:17 +00:00
if( m_pParameter->HasScaleProperties() )
AddTabPage(TP_SCALE, SCH_RESSTR(STR_PAGE_SCALE), ScaleTabPage::Create, NULL);
2008-12-12 12:17:17 +00:00
if( m_pParameter->HasScaleProperties() )//no positioning page for z axes so far as the tickmarks are not shown so far
AddTabPage(TP_AXIS_POSITIONS, SCH_RESSTR(STR_PAGE_POSITIONING), AxisPositionsTabPage::Create, NULL);
AddTabPage(RID_SVXPAGE_LINE, SCH_RESSTR(STR_PAGE_LINE));
AddTabPage(TP_AXIS_LABEL, SCH_RESSTR(STR_OBJECT_LABEL), SchAxisLabelTabPage::Create, NULL);
if( m_pParameter->HasNumberProperties() )
AddTabPage(RID_SVXPAGE_NUMBERFORMAT, SCH_RESSTR(STR_PAGE_NUMBERS));
AddTabPage(RID_SVXPAGE_CHAR_NAME, SCH_RESSTR(STR_PAGE_FONT));
AddTabPage(RID_SVXPAGE_CHAR_EFFECTS, SCH_RESSTR(STR_PAGE_FONT_EFFECTS));
CWS-TOOLING: integrate CWS chart37 2009-05-22 09:10:36 +0200 iha r272170 : #i102130# color of pies is not loaded correctly 2009-04-27 17:16:20 +0200 iha r271294 : #i24203# compiler problem 2009-04-27 16:43:21 +0200 iha r271292 : #i101281# missing API documentation for secondary axis title properties 2009-04-27 15:26:05 +0200 hde r271276 : #i100987 2009-04-27 15:24:42 +0200 hde r271273 : #i100987 2009-04-24 15:08:33 +0200 iha r271214 : #i100995# crash with some logarithmic scalings 2009-04-22 18:50:56 +0200 dr r271134 : #i82177# write out deleted point labels 2009-04-22 18:40:48 +0200 iha r271133 : #i101281# missing API documentation for secondary axis title properties 2009-04-22 16:39:42 +0200 dr r271128 : #i82177# extensions for bubble charts 2009-04-22 14:37:00 +0200 dr r271114 : #i82177# import/export data label type and separator 2009-04-22 14:36:24 +0200 dr r271113 : #i82177# import/export data label type and separator 2009-04-21 15:25:26 +0200 dr r271038 : #i82177# import data label type and separator from BIFF8 CHFR records 2009-04-21 14:37:16 +0200 dr r271037 : #i82177# dump BIFF8 chart future records 2009-04-20 17:44:27 +0200 iha r271002 : #i96898# reduce library exports 2009-04-20 13:01:13 +0200 iha r270975 : #i24203# rotate data labels - help ids 2009-04-20 11:40:33 +0200 dr r270969 : #i96600# export of axis scaling/positioning properties 2009-04-16 16:02:31 +0200 dr r270892 : #i69599# keep Y axis left in 3d charts 2009-04-15 18:16:46 +0200 dr r270859 : #i69599# import of axis position settings 2009-04-15 18:16:01 +0200 dr r270858 : #i69599# correct handling of logarithmic crossing axes 2009-04-14 16:27:48 +0200 dr r270794 : #i96599# handle auto axis position on logarithmic axes 2009-04-09 19:59:51 +0200 dr r270722 : #i96599# import axis crossing settings, fix import of logarithmic scaling settings 2009-04-09 18:26:00 +0200 iha r270720 : #i96898# reduce library exports 2009-04-09 15:17:04 +0200 iha r270710 : #i96898# reduce library exports 2009-04-09 10:50:14 +0200 dr r270682 : #i24203# import/export of data label rotation, fixed some other broken stuff too 2009-04-08 16:54:54 +0200 dr r270657 : #i24203# import rotation for data point labels 2009-04-06 18:19:17 +0200 iha r270571 : #i100876# Axis scaling settings dialog wrong after API usage (anys different from double type) 2009-04-06 15:57:05 +0200 iha r270567 : #i100105# #i58585# leftover -> 2009-04-06 15:55:48 +0200 iha r270564 : #i58585# leftover -> 2009-04-02 16:41:07 +0200 iha r270422 : #i99721# remove unused code 2009-04-02 14:29:03 +0200 iha r270407 : #i99721# remove unused code 2009-03-26 10:58:23 +0100 iha r270059 : #i96898# reduce library exports 2009-03-26 10:13:49 +0100 iha r270055 : #i96898# reduce library exports 2009-03-25 09:39:13 +0100 iha r269998 : CWS-TOOLING: rebase CWS chart37 to trunk@269781 (milestone: DEV300:m44) 2009-03-24 17:56:56 +0100 iha r269986 : #i96898# reduce library exports 2009-03-24 16:56:44 +0100 iha r269974 : #i99721# remove unused code 2009-03-24 16:48:48 +0100 iha r269970 : #i89731# remove unused string 2009-03-24 15:44:04 +0100 iha r269961 : remove unused code 2009-03-24 15:22:45 +0100 iha r269959 : remove unused code 2009-03-24 15:17:17 +0100 iha r269957 : remove unused code 2009-03-24 11:14:53 +0100 iha r269923 : #i24203# rotate data labels 2009-03-09 12:10:25 +0100 hde r269076 : #i99300# 2009-03-06 15:56:26 +0100 iha r269011 : #i93953# Source Format for secondary axis without data 2009-02-17 15:59:05 +0100 iha r268177 : avoid warning during build 2009-02-17 15:01:59 +0100 iha r268173 : avoid warning during build 2009-02-13 09:39:03 +0100 ufi r267693 : i96999 2009-02-11 15:12:35 +0100 iha r267604 : removed unused string 2009-02-11 14:00:29 +0100 iha r267600 : #i96999# Corrected wording from 'correlation coefficient' to 'coefficient of determination' 2009-02-11 10:56:45 +0100 iha r267584 : #i89731# typo in resource string 2009-02-11 10:01:29 +0100 iha r267582 : #i89031# compile error on asian windows systems 2009-02-10 16:15:16 +0100 iha r267552 : #i24203# rotate data labels 2009-02-04 18:00:33 +0100 iha r267395 : #i98893# don't export defaults to file 2009-02-04 15:48:15 +0100 iha r267390 : #i92128# asian typography for chart elements 2009-02-04 15:17:41 +0100 iha r267386 : #i92128# asian typography for chart elements 2009-01-30 14:41:10 +0100 iha r267197 : CWS-TOOLING: rebase CWS chart37 to trunk@267171 (milestone: DEV300:m41)
2009-06-04 09:41:18 +00:00
if( aCJKOptions.IsAsianTypographyEnabled() )
AddTabPage(RID_SVXPAGE_PARA_ASIAN, SCH_RESSTR(STR_PAGE_ASIAN));
2003-10-06 08:58:36 +00:00
break;
}
case OBJECTTYPE_DATA_ERRORS_X:
AddTabPage(TP_XERRORBAR, SCH_RESSTR(STR_PAGE_XERROR_BARS), ErrorBarsTabPage::Create, NULL);
AddTabPage(RID_SVXPAGE_LINE, SCH_RESSTR(STR_PAGE_LINE));
break;
2003-10-06 08:58:36 +00:00
case OBJECTTYPE_DATA_ERRORS_Y:
AddTabPage(TP_YERRORBAR, SCH_RESSTR(STR_PAGE_YERROR_BARS), ErrorBarsTabPage::Create, NULL);
AddTabPage(RID_SVXPAGE_LINE, SCH_RESSTR(STR_PAGE_LINE));
break;
case OBJECTTYPE_DATA_ERRORS_Z:
break;
case OBJECTTYPE_GRID:
case OBJECTTYPE_SUBGRID:
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
case OBJECTTYPE_DATA_AVERAGE_LINE:
case OBJECTTYPE_DATA_STOCK_RANGE:
AddTabPage(RID_SVXPAGE_LINE, SCH_RESSTR(STR_PAGE_LINE));
2003-10-06 08:58:36 +00:00
break;
case OBJECTTYPE_DATA_CURVE:
AddTabPage(TP_TRENDLINE, SCH_RESSTR(STR_PAGE_TRENDLINE_TYPE), TrendlineTabPage::Create, NULL);
AddTabPage(RID_SVXPAGE_LINE, SCH_RESSTR(STR_PAGE_LINE));
break;
INTEGRATION: CWS chart2mst3 (1.10.2); FILE MERGED 2007/05/14 20:03:04 bm 1.10.2.22: RESYNC: (1.14-1.15); FILE MERGED 2006/10/27 15:16:59 iha 1.10.2.21: name consolidation 2006/10/18 17:04:04 bm 1.10.2.20: RESYNC: (1.13-1.14); FILE MERGED 2006/04/10 12:25:05 iha 1.10.2.19: api restructure axis, grids, scales and increments 2005/11/25 16:23:25 iha 1.10.2.18: correct labels at z axis for deep stacking 2005/11/23 15:16:58 iha 1.10.2.17: support BarOverlap and GapWidth 2005/11/18 18:19:53 iha 1.10.2.16: restructuring for proper subgrid support 2005/10/24 11:06:38 iha 1.10.2.15: coordinate system restructure 2005/10/13 17:38:45 iha 1.10.2.14: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 11:16:38 bm 1.10.2.13: RESYNC: (1.12-1.13); FILE MERGED 2005/09/05 11:36:41 iha 1.10.2.12: no scale page for category axis 2005/06/07 15:58:31 iha 1.10.2.11: use numberformatter from model 2004/09/17 12:20:46 iha 1.10.2.10: implement api redesign - dimension property 2004/09/17 11:35:59 iha 1.10.2.9: implement api redesign - dimension property 2004/09/16 14:48:00 iha 1.10.2.8: implement api redesign 2004/06/03 10:02:19 iha 1.10.2.7: corrected merge error 2004/06/03 03:38:36 iha 1.10.2.6: RESYNC: (1.10-1.12); FILE MERGED 2004/05/17 17:33:50 iha 1.10.2.5: provide object naming; resource cleanup 2004/04/22 15:00:41 iha 1.10.2.4: #i20344# chabged legend, grid and title resources 2004/04/19 15:07:03 iha 1.10.2.3: concentrate ResourceIds to avoid dublicates 2004/03/04 11:00:57 iha 1.10.2.2: remove SchSlotIds 2004/02/18 19:55:00 iha 1.10.2.1: removed unused code
2007-05-22 16:37:01 +00:00
case OBJECTTYPE_DATA_STOCK_LOSS:
case OBJECTTYPE_DATA_STOCK_GAIN:
case OBJECTTYPE_PAGE:
case OBJECTTYPE_DIAGRAM_FLOOR:
case OBJECTTYPE_DIAGRAM_WALL:
case OBJECTTYPE_DIAGRAM:
AddTabPage(RID_SVXPAGE_LINE, SCH_RESSTR(STR_PAGE_BORDER));
AddTabPage(RID_SVXPAGE_AREA, SCH_RESSTR(STR_PAGE_AREA));
AddTabPage(RID_SVXPAGE_TRANSPARENCE, SCH_RESSTR(STR_PAGE_TRANSPARENCY));
2003-10-06 08:58:36 +00:00
break;
2003-12-10 15:51:53 +00:00
case OBJECTTYPE_LEGEND_ENTRY:
case OBJECTTYPE_AXIS_UNITLABEL:
case OBJECTTYPE_UNKNOWN:
// nothing
break;
case OBJECTTYPE_DATA_CURVE_EQUATION:
AddTabPage(RID_SVXPAGE_LINE, SCH_RESSTR(STR_PAGE_BORDER));
AddTabPage(RID_SVXPAGE_AREA, SCH_RESSTR(STR_PAGE_AREA));
AddTabPage(RID_SVXPAGE_TRANSPARENCE, SCH_RESSTR(STR_PAGE_TRANSPARENCY));
AddTabPage(RID_SVXPAGE_CHAR_NAME, SCH_RESSTR(STR_PAGE_FONT));
AddTabPage(RID_SVXPAGE_CHAR_EFFECTS, SCH_RESSTR(STR_PAGE_FONT_EFFECTS));
AddTabPage(RID_SVXPAGE_NUMBERFORMAT, SCH_RESSTR(STR_PAGE_NUMBERS));
2008-11-26 15:19:48 +00:00
if( SvtLanguageOptions().IsCTLFontEnabled() )
/* When rotation is supported for equation text boxes, use
SchAlignmentTabPage::Create here. The special
SchAlignmentTabPage::CreateWithoutRotation can be deleted. */
AddTabPage(TP_ALIGNMENT, SCH_RESSTR(STR_PAGE_ALIGNMENT), SchAlignmentTabPage::CreateWithoutRotation, NULL);
break;
default:
break;
2003-10-06 08:58:36 +00:00
}
// used to find out if user left the dialog with OK. When OK is pressed but
// no changes were done, Cancel is returned by the SfxTabDialog. See method
// DialogWasClosedWithOK.
m_aOriginalOKClickHdl = GetOKButton().GetClickHdl();
GetOKButton().SetClickHdl( LINK( this, SchAttribTabDlg, OKPressed ));
2003-10-06 08:58:36 +00:00
}
SchAttribTabDlg::~SchAttribTabDlg()
{
disposeOnce();
}
void SchAttribTabDlg::dispose()
2003-10-06 08:58:36 +00:00
{
2003-11-13 14:17:51 +00:00
delete m_pSymbolShapeProperties;
m_pSymbolShapeProperties = NULL;
2003-11-13 14:17:51 +00:00
delete m_pAutoSymbolGraphic;
m_pAutoSymbolGraphic = NULL;
SfxTabDialog::dispose();
2003-10-06 08:58:36 +00:00
}
void SchAttribTabDlg::PageCreated(sal_uInt16 nId, SfxTabPage &rPage)
2003-10-06 08:58:36 +00:00
{
SfxAllItemSet aSet(*(GetInputSetImpl()->GetPool()));
2003-10-06 08:58:36 +00:00
switch (nId)
{
case TP_LAYOUT:
break;
case RID_SVXPAGE_LINE:
aSet.Put (SvxColorListItem(m_pViewElementListProvider->GetColorTable(),SID_COLOR_TABLE));
aSet.Put (SvxDashListItem(m_pViewElementListProvider->GetDashList(),SID_DASH_LIST));
aSet.Put (SvxLineEndListItem(m_pViewElementListProvider->GetLineEndList(),SID_LINEEND_LIST));
aSet.Put (SfxUInt16Item(SID_PAGE_TYPE,nPageType));
aSet.Put (SfxUInt16Item(SID_DLG_TYPE,nDlgType));
2003-11-12 17:13:41 +00:00
if( m_pParameter->HasSymbolProperties() )
{
aSet.Put(OfaPtrItem(SID_OBJECT_LIST,m_pViewElementListProvider->GetSymbolList()));
2003-11-13 14:17:51 +00:00
if( m_pSymbolShapeProperties )
aSet.Put(SfxTabDialogItem(SID_ATTR_SET,*m_pSymbolShapeProperties));
2003-11-13 14:17:51 +00:00
if( m_pAutoSymbolGraphic )
aSet.Put(SvxGraphicItem(SID_GRAPHIC,*m_pAutoSymbolGraphic));
2003-10-06 08:58:36 +00:00
}
rPage.PageCreated(aSet);
2003-10-06 08:58:36 +00:00
break;
case RID_SVXPAGE_AREA:
aSet.Put(SvxColorListItem(m_pViewElementListProvider->GetColorTable(),SID_COLOR_TABLE));
aSet.Put(SvxGradientListItem(m_pViewElementListProvider->GetGradientList(),SID_GRADIENT_LIST));
aSet.Put(SvxHatchListItem(m_pViewElementListProvider->GetHatchList(),SID_HATCH_LIST));
aSet.Put(SvxBitmapListItem(m_pViewElementListProvider->GetBitmapList(),SID_BITMAP_LIST));
aSet.Put(SfxUInt16Item(SID_PAGE_TYPE,nPageType));
aSet.Put(SfxUInt16Item(SID_DLG_TYPE,nDlgType));
rPage.PageCreated(aSet);
2003-10-06 08:58:36 +00:00
break;
case RID_SVXPAGE_TRANSPARENCE:
aSet.Put (SfxUInt16Item(SID_PAGE_TYPE,nPageType));
aSet.Put (SfxUInt16Item(SID_DLG_TYPE,nDlgType));
rPage.PageCreated(aSet);
2003-10-06 08:58:36 +00:00
break;
case RID_SVXPAGE_CHAR_NAME:
aSet.Put (SvxFontListItem(m_pViewElementListProvider->getFontList(), SID_ATTR_CHAR_FONTLIST));
rPage.PageCreated(aSet);
2003-10-06 08:58:36 +00:00
break;
case RID_SVXPAGE_CHAR_EFFECTS:
aSet.Put (SfxUInt16Item(SID_DISABLE_CTL,DISABLE_CASEMAP));
rPage.PageCreated(aSet);
2003-10-06 08:58:36 +00:00
break;
case TP_AXIS_LABEL:
{
bool bShowStaggeringControls = m_pParameter->CanAxisLabelsBeStaggered();
static_cast<SchAxisLabelTabPage&>(rPage).ShowStaggeringControls( bShowStaggeringControls );
( dynamic_cast< SchAxisLabelTabPage& >( rPage ) ).SetComplexCategories( m_pParameter->IsComplexCategoriesAxis() );
2003-10-06 08:58:36 +00:00
break;
}
case TP_ALIGNMENT:
break;
2008-12-12 12:17:17 +00:00
case TP_AXIS_POSITIONS:
2003-10-06 08:58:36 +00:00
{
2008-12-12 12:17:17 +00:00
AxisPositionsTabPage* pPage = dynamic_cast< AxisPositionsTabPage* >( &rPage );
if(pPage)
{
pPage->SetNumFormatter( m_pNumberFormatter );
if( m_pParameter->IsCrossingAxisIsCategoryAxis() )
{
pPage->SetCrossingAxisIsCategoryAxis( m_pParameter->IsCrossingAxisIsCategoryAxis() );
pPage->SetCategories( m_pParameter->GetCategories() );
}
pPage->SupportAxisPositioning( m_pParameter->IsSupportingAxisPositioning() );
}
}
break;
2003-10-06 08:58:36 +00:00
2008-12-12 12:17:17 +00:00
case TP_SCALE:
{
ScaleTabPage* pScaleTabPage = dynamic_cast< ScaleTabPage* >( &rPage );
if(pScaleTabPage)
{
pScaleTabPage->SetNumFormatter( m_pNumberFormatter );
pScaleTabPage->ShowAxisOrigin( m_pParameter->ShowAxisOrigin() );
}
2003-10-06 08:58:36 +00:00
}
break;
case TP_DATA_DESCR:
{
2008-12-12 12:17:17 +00:00
DataLabelsTabPage* pLabelPage = dynamic_cast< DataLabelsTabPage* >( &rPage );
if( pLabelPage )
pLabelPage->SetNumberFormatter( m_pNumberFormatter );
}
break;
2003-10-06 08:58:36 +00:00
case RID_SVXPAGE_NUMBERFORMAT:
aSet.Put (SvxNumberInfoItem( m_pNumberFormatter, (const sal_uInt16)SID_ATTR_NUMBERFORMAT_INFO));
rPage.PageCreated(aSet);
2003-10-06 08:58:36 +00:00
break;
case TP_XERRORBAR:
{
ErrorBarsTabPage * pTabPage = dynamic_cast< ErrorBarsTabPage * >( &rPage );
OSL_ASSERT( pTabPage );
if( pTabPage )
{
pTabPage->SetAxisMinorStepWidthForErrorBarDecimals( m_fAxisMinorStepWidthForErrorBarDecimals );
pTabPage->SetErrorBarType( ErrorBarResources::ERROR_BAR_X );
pTabPage->SetChartDocumentForRangeChoosing( m_pParameter->getDocument());
}
break;
}
case TP_YERRORBAR:
{
ErrorBarsTabPage * pTabPage = dynamic_cast< ErrorBarsTabPage * >( &rPage );
OSL_ASSERT( pTabPage );
if( pTabPage )
{
pTabPage->SetAxisMinorStepWidthForErrorBarDecimals( m_fAxisMinorStepWidthForErrorBarDecimals );
pTabPage->SetErrorBarType( ErrorBarResources::ERROR_BAR_Y );
pTabPage->SetChartDocumentForRangeChoosing( m_pParameter->getDocument());
}
break;
}
case TP_OPTIONS:
{
SchOptionTabPage* pTabPage = dynamic_cast< SchOptionTabPage* >( &rPage );
if( pTabPage && m_pParameter )
pTabPage->Init( m_pParameter->ProvidesSecondaryYAxis(), m_pParameter->ProvidesOverlapAndGapWidth(),
m_pParameter->ProvidesBarConnectors() );
break;
}
case TP_TRENDLINE:
{
TrendlineTabPage* pTrendlineTabPage = dynamic_cast< TrendlineTabPage* >( &rPage );
if(pTrendlineTabPage)
{
pTrendlineTabPage->SetNumFormatter( m_pNumberFormatter );
pTrendlineTabPage->SetNbPoints( m_pParameter->getNbPoints() );
}
break;
}
2003-10-06 08:58:36 +00:00
}
}
IMPL_LINK_NOARG(SchAttribTabDlg, OKPressed)
{
m_bOKPressed = true;
return m_aOriginalOKClickHdl.Call( this );
}
2003-10-06 08:58:36 +00:00
} //namespace chart
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */