2000-09-18 16:07:07 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2005-09-09 12:26:05 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2005-09-09 12:26:05 +00:00
|
|
|
* $RCSfile: SchXMLPlotAreaContext.cxx,v $
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
* $Revision: 1.38 $
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
* last change: $Author: vg $ $Date: 2007-05-22 16:06:39 $
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2005-09-09 12:26:05 +00:00
|
|
|
* The Contents of this file are made available subject to
|
|
|
|
* the terms of GNU Lesser General Public License Version 2.1.
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
|
|
|
*
|
2005-09-09 12:26:05 +00:00
|
|
|
* GNU Lesser General Public License Version 2.1
|
|
|
|
* =============================================
|
|
|
|
* Copyright 2005 by Sun Microsystems, Inc.
|
|
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2005-09-09 12:26:05 +00:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License version 2.1, as published by the Free Software Foundation.
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2005-09-09 12:26:05 +00:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2005-09-09 12:26:05 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
* MA 02111-1307 USA
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
2006-09-17 09:15:52 +00:00
|
|
|
// MARKER(update_precomp.py): autogen include statement, do not remove
|
|
|
|
#include "precompiled_xmloff.hxx"
|
|
|
|
|
2000-09-18 16:07:07 +00:00
|
|
|
#include "SchXMLPlotAreaContext.hxx"
|
|
|
|
#include "SchXMLImport.hxx"
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
#include "SchXMLSeries2Context.hxx"
|
|
|
|
#include "SchXMLErrorBuildIds.hxx"
|
|
|
|
#include "SchXMLTools.hxx"
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
#ifndef _TOOLS_DEBUG_HXX
|
|
|
|
#include <tools/debug.hxx>
|
|
|
|
#endif
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
#ifdef DBG_UTIL
|
|
|
|
#include <tools/string.hxx>
|
|
|
|
#endif
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
#ifndef _XMLOFF_XMLNMSPE_HXX
|
|
|
|
#include "xmlnmspe.hxx"
|
|
|
|
#endif
|
2001-06-29 20:07:26 +00:00
|
|
|
#ifndef _XMLOFF_XMLTOKEN_HXX
|
|
|
|
#include "xmltoken.hxx"
|
2000-09-18 16:07:07 +00:00
|
|
|
#endif
|
|
|
|
#ifndef _XMLOFF_XMLEMENT_HXX
|
|
|
|
#include "xmlement.hxx"
|
|
|
|
#endif
|
|
|
|
#ifndef _XMLOFF_NMSPMAP_HXX
|
|
|
|
#include "nmspmap.hxx"
|
|
|
|
#endif
|
|
|
|
#ifndef _XMLOFF_XMLUCONV_HXX
|
|
|
|
#include "xmluconv.hxx"
|
|
|
|
#endif
|
|
|
|
#ifndef _XMLOFF_PRSTYLEI_HXX_
|
|
|
|
#include "prstylei.hxx"
|
|
|
|
#endif
|
|
|
|
#ifndef _XMLOFF_XMLSTYLE_HXX
|
|
|
|
#include "xmlstyle.hxx"
|
|
|
|
#endif
|
2000-12-22 10:57:05 +00:00
|
|
|
#ifndef _XEXPTRANSFORM_HXX
|
|
|
|
#include "xexptran.hxx"
|
|
|
|
#endif
|
2000-09-18 16:07:07 +00:00
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
#ifndef _CPPUHELPER_IMPLBASE1_HXX_
|
|
|
|
#include <cppuhelper/implbase1.hxx>
|
|
|
|
#endif
|
|
|
|
|
2000-09-18 16:07:07 +00:00
|
|
|
#ifndef _COM_SUN_STAR_XML_SAX_XATTRIBUTELIST_HPP_
|
|
|
|
#include <com/sun/star/xml/sax/XAttributeList.hpp>
|
|
|
|
#endif
|
|
|
|
#ifndef _COM_SUN_STAR_LANG_XSERVICEINFO_HPP_
|
|
|
|
#include <com/sun/star/lang/XServiceInfo.hpp>
|
|
|
|
#endif
|
|
|
|
#ifndef _COM_SUN_STAR_CHART_XTWOAXISXSUPPLIER_HPP_
|
|
|
|
#include <com/sun/star/chart/XTwoAxisXSupplier.hpp>
|
|
|
|
#endif
|
|
|
|
#ifndef _COM_SUN_STAR_CHART_XTWOAXISYSUPPLIER_HPP_
|
|
|
|
#include <com/sun/star/chart/XTwoAxisYSupplier.hpp>
|
|
|
|
#endif
|
|
|
|
#ifndef _COM_SUN_STAR_CHART_XAXISZSUPPLIER_HPP_
|
|
|
|
#include <com/sun/star/chart/XAxisZSupplier.hpp>
|
|
|
|
#endif
|
|
|
|
#ifndef _COM_SUN_STAR_UTIL_XSTRINGMAPPING_HPP_
|
|
|
|
#include <com/sun/star/util/XStringMapping.hpp>
|
|
|
|
#endif
|
|
|
|
#ifndef _COM_SUN_STAR_CHART_CHARTDATAROWSOURCE_HPP_
|
|
|
|
#include <com/sun/star/chart/ChartDataRowSource.hpp>
|
|
|
|
#endif
|
2001-01-15 07:58:30 +00:00
|
|
|
#ifndef _COM_SUN_STAR_CHART_X3DDISPLAY_HPP_
|
|
|
|
#include <com/sun/star/chart/X3DDisplay.hpp>
|
|
|
|
#endif
|
2001-12-17 09:22:11 +00:00
|
|
|
#ifndef _COM_SUN_STAR_CHART_XSTATISTICDISPLAY_HPP_
|
|
|
|
#include <com/sun/star/chart/XStatisticDisplay.hpp>
|
|
|
|
#endif
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
#ifndef _COM_SUN_STAR_CHART2_XCHARTDOCUMENT_HPP_
|
|
|
|
#include <com/sun/star/chart2/XChartDocument.hpp>
|
|
|
|
#endif
|
|
|
|
#ifndef _COM_SUN_STAR_CHART2_XCOORDINATESYSTEMCONTAINER_HPP_
|
|
|
|
#include <com/sun/star/chart2/XCoordinateSystemContainer.hpp>
|
|
|
|
#endif
|
|
|
|
#ifndef _COM_SUN_STAR_CHART2_DATA_XRANGEXMLCONVERSION_HPP_
|
|
|
|
#include <com/sun/star/chart2/data/XRangeXMLConversion.hpp>
|
|
|
|
#endif
|
|
|
|
#ifndef _COM_SUN_STAR_CHART2_XCHARTTYPECONTAINER_HPP_
|
|
|
|
#include <com/sun/star/chart2/XChartTypeContainer.hpp>
|
|
|
|
#endif
|
|
|
|
#ifndef _COM_SUN_STAR_CHART2_XDATASERIESCONTAINER_HPP_
|
|
|
|
#include <com/sun/star/chart2/XDataSeriesContainer.hpp>
|
|
|
|
#endif
|
|
|
|
#ifndef _COM_SUN_STAR_CHART2_AXISTYPE_HPP_
|
|
|
|
#include <com/sun/star/chart2/AxisType.hpp>
|
|
|
|
#endif
|
|
|
|
#ifndef _COM_SUN_STAR_DRAWING_CAMERAGEOMETRY_HPP_
|
|
|
|
#include <com/sun/star/drawing/CameraGeometry.hpp>
|
|
|
|
#endif
|
|
|
|
#ifndef _COM_SUN_STAR_DRAWING_FILLSTYLE_HPP_
|
|
|
|
#include <com/sun/star/drawing/FillStyle.hpp>
|
|
|
|
#endif
|
|
|
|
#ifndef _COM_SUN_STAR_DRAWING_LINESTYLE_HPP_
|
|
|
|
#include <com/sun/star/drawing/LineStyle.hpp>
|
|
|
|
#endif
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2000-11-27 16:37:52 +00:00
|
|
|
#ifndef _COM_SUN_STAR_AWT_POINT_HPP_
|
|
|
|
#include <com/sun/star/awt/Point.hpp>
|
|
|
|
#endif
|
|
|
|
#ifndef _COM_SUN_STAR_AWT_SIZE_HPP_
|
|
|
|
#include <com/sun/star/awt/Size.hpp>
|
|
|
|
#endif
|
|
|
|
|
2000-09-18 16:07:07 +00:00
|
|
|
using namespace com::sun::star;
|
2001-06-15 09:37:08 +00:00
|
|
|
using namespace ::xmloff::token;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2002-05-06 06:24:33 +00:00
|
|
|
using ::rtl::OUString;
|
|
|
|
|
2000-09-18 16:07:07 +00:00
|
|
|
static __FAR_DATA SvXMLEnumMapEntry aXMLAxisClassMap[] =
|
|
|
|
{
|
2004-11-15 11:35:19 +00:00
|
|
|
{ XML_X, SCH_XML_AXIS_X },
|
|
|
|
{ XML_Y, SCH_XML_AXIS_Y },
|
|
|
|
{ XML_Z, SCH_XML_AXIS_Z },
|
2001-06-15 09:37:08 +00:00
|
|
|
{ XML_TOKEN_INVALID, 0 }
|
2000-09-18 16:07:07 +00:00
|
|
|
};
|
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
namespace
|
|
|
|
{
|
2005-07-05 09:55:30 +00:00
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
struct lcl_AxisHasCategories : public ::std::unary_function< SchXMLAxis, bool >
|
2005-07-05 09:55:30 +00:00
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
bool operator() ( const SchXMLAxis & rAxis )
|
|
|
|
{
|
|
|
|
return rAxis.bHasCategories;
|
|
|
|
}
|
|
|
|
};
|
2005-07-05 09:55:30 +00:00
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
OUString lcl_ConvertRange( const ::rtl::OUString & rRange, const uno::Reference< chart2::XChartDocument > & xDoc )
|
2005-07-05 09:55:30 +00:00
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
OUString aResult = rRange;
|
|
|
|
uno::Reference< chart2::data::XRangeXMLConversion > xConversion(
|
|
|
|
SchXMLImportHelper::GetDataProvider( xDoc ), uno::UNO_QUERY );
|
|
|
|
if( xConversion.is())
|
|
|
|
aResult = xConversion->convertRangeFromXML( rRange );
|
|
|
|
return aResult;
|
2005-07-05 09:55:30 +00:00
|
|
|
}
|
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
} // anonymous namespace
|
|
|
|
|
|
|
|
SchXML3DSceneAttributesHelper::SchXML3DSceneAttributesHelper( SvXMLImport& rImporter )
|
|
|
|
: SdXML3DSceneAttributesHelper( rImporter )
|
2005-07-05 09:55:30 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
void SchXML3DSceneAttributesHelper::getCameraDefaultFromDiagram( const uno::Reference< chart::XDiagram >& xDiagram )
|
2005-07-05 09:55:30 +00:00
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
//different defaults for camera geometry necessary to workaround wrong behaviour in old chart
|
|
|
|
//in future make this version dependent if we have versioning (metastream) for ole objects
|
|
|
|
|
|
|
|
try
|
|
|
|
{
|
|
|
|
uno::Reference< beans::XPropertySet > xProp( xDiagram, uno::UNO_QUERY );
|
|
|
|
if( xProp.is() )
|
|
|
|
{
|
|
|
|
drawing::CameraGeometry aCamGeo;
|
|
|
|
xProp->getPropertyValue( ::rtl::OUString::createFromAscii("D3DCameraGeometry")) >>= aCamGeo;
|
|
|
|
maVRP.setX( aCamGeo.vrp.PositionX );
|
|
|
|
maVRP.setY( aCamGeo.vrp.PositionY );
|
|
|
|
maVRP.setZ( aCamGeo.vrp.PositionZ );
|
|
|
|
maVPN.setX( aCamGeo.vpn.DirectionX );
|
|
|
|
maVPN.setY( aCamGeo.vpn.DirectionY );
|
|
|
|
maVPN.setZ( aCamGeo.vpn.DirectionZ );
|
|
|
|
maVUP.setX( aCamGeo.vup.DirectionX );
|
|
|
|
maVUP.setY( aCamGeo.vup.DirectionY );
|
|
|
|
maVUP.setZ( aCamGeo.vup.DirectionZ );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch( uno::Exception & rEx )
|
|
|
|
{
|
|
|
|
#ifdef DBG_UTIL
|
|
|
|
String aStr( rEx.Message );
|
|
|
|
ByteString aBStr( aStr, RTL_TEXTENCODING_ASCII_US );
|
|
|
|
DBG_ERROR1( "Exception caught for property NumberOfLines: %s", aBStr.GetBuffer());
|
|
|
|
#else
|
|
|
|
(void)rEx; // avoid warning for pro build
|
|
|
|
#endif
|
|
|
|
}
|
2005-07-05 09:55:30 +00:00
|
|
|
}
|
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
SchXML3DSceneAttributesHelper::~SchXML3DSceneAttributesHelper()
|
|
|
|
{
|
|
|
|
}
|
2005-07-05 09:55:30 +00:00
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
SchXMLPlotAreaContext::SchXMLPlotAreaContext(
|
|
|
|
SchXMLImportHelper& rImpHelper,
|
|
|
|
SvXMLImport& rImport, const rtl::OUString& rLocalName,
|
|
|
|
uno::Sequence< chart::ChartSeriesAddress >& rSeriesAddresses,
|
|
|
|
::rtl::OUString& rCategoriesAddress,
|
|
|
|
::rtl::OUString& rChartAddress,
|
|
|
|
sal_Bool & rHasOwnTable,
|
|
|
|
sal_Bool & rAllRangeAddressesAvailable,
|
|
|
|
sal_Bool & rColHasLabels,
|
|
|
|
sal_Bool & rRowHasLabels,
|
|
|
|
chart::ChartDataRowSource & rDataRowSource,
|
|
|
|
SeriesDefaultsAndStyles& rSeriesDefaultsAndStyles,
|
|
|
|
const ::rtl::OUString& aChartTypeServiceName,
|
|
|
|
tSchXMLLSequencesPerIndex & rLSequencesPerIndex ) :
|
2000-09-18 16:07:07 +00:00
|
|
|
SvXMLImportContext( rImport, XML_NAMESPACE_CHART, rLocalName ),
|
|
|
|
mrImportHelper( rImpHelper ),
|
|
|
|
mrSeriesAddresses( rSeriesAddresses ),
|
2000-12-09 14:53:42 +00:00
|
|
|
mrCategoriesAddress( rCategoriesAddress ),
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
mrSeriesDefaultsAndStyles( rSeriesDefaultsAndStyles ),
|
|
|
|
mnNumOfLinesProp( 0 ),
|
|
|
|
mnNumOfLinesReadBySeries( 0 ),
|
2004-08-20 07:53:24 +00:00
|
|
|
mbStockHasVolume( sal_False ),
|
2001-03-22 11:31:46 +00:00
|
|
|
mnSeries( 0 ),
|
2001-03-28 10:51:12 +00:00
|
|
|
mnMaxSeriesLength( 0 ),
|
2005-07-05 09:55:30 +00:00
|
|
|
maSceneImportHelper( rImport ),
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
mbHasSize(false),
|
|
|
|
mbHasPosition(false),
|
|
|
|
mbPercentStacked(false),
|
2006-06-19 17:01:57 +00:00
|
|
|
mrChartAddress( rChartAddress ),
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
mrHasOwnTable( rHasOwnTable ),
|
|
|
|
mrAllRangeAddressesAvailable( rAllRangeAddressesAvailable ),
|
|
|
|
mrColHasLabels( rColHasLabels ),
|
|
|
|
mrRowHasLabels( rRowHasLabels ),
|
|
|
|
mrDataRowSource( rDataRowSource ),
|
|
|
|
mnFirstFirstDomainIndex( -1 ),
|
|
|
|
maChartTypeServiceName( aChartTypeServiceName ),
|
|
|
|
mrLSequencesPerIndex( rLSequencesPerIndex ),
|
|
|
|
mnCurrentDataIndex( 0 ),
|
|
|
|
mbGlobalChartTypeUsedBySeries( false )
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
|
|
|
// get Diagram
|
|
|
|
uno::Reference< chart::XChartDocument > xDoc( rImpHelper.GetChartDocument(), uno::UNO_QUERY );
|
|
|
|
if( xDoc.is())
|
|
|
|
{
|
|
|
|
mxDiagram = xDoc->getDiagram();
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
mxNewDoc.set( xDoc, uno::UNO_QUERY );
|
|
|
|
|
|
|
|
maSceneImportHelper.getCameraDefaultFromDiagram( mxDiagram );
|
2000-09-18 16:07:07 +00:00
|
|
|
}
|
|
|
|
DBG_ASSERT( mxDiagram.is(), "Couldn't get XDiagram" );
|
|
|
|
|
|
|
|
// turn off all axes initially
|
|
|
|
uno::Any aFalseBool;
|
|
|
|
aFalseBool <<= (sal_Bool)(sal_False);
|
|
|
|
|
|
|
|
uno::Reference< lang::XServiceInfo > xInfo( mxDiagram, uno::UNO_QUERY );
|
|
|
|
uno::Reference< beans::XPropertySet > xProp( mxDiagram, uno::UNO_QUERY );
|
|
|
|
if( xInfo.is() &&
|
|
|
|
xProp.is())
|
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
|
|
|
if( xInfo->supportsService( rtl::OUString::createFromAscii( "com.sun.star.chart.ChartAxisXSupplier" )))
|
|
|
|
{
|
|
|
|
xProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasXAxis" ), aFalseBool );
|
2000-11-29 12:57:56 +00:00
|
|
|
xProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasXAxisGrid" ), aFalseBool );
|
2000-09-18 16:07:07 +00:00
|
|
|
xProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasXAxisDescription" ), aFalseBool );
|
|
|
|
}
|
|
|
|
if( xInfo->supportsService( rtl::OUString::createFromAscii( "com.sun.star.chart.ChartTwoAxisXSupplier" )))
|
|
|
|
{
|
|
|
|
xProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasSecondaryXAxis" ), aFalseBool );
|
|
|
|
xProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasSecondaryXAxisDescription" ), aFalseBool );
|
|
|
|
}
|
|
|
|
|
|
|
|
if( xInfo->supportsService( rtl::OUString::createFromAscii( "com.sun.star.chart.ChartAxisYSupplier" )))
|
|
|
|
{
|
|
|
|
xProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasYAxis" ), aFalseBool );
|
2000-11-29 12:57:56 +00:00
|
|
|
xProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasYAxisGrid" ), aFalseBool );
|
2000-09-18 16:07:07 +00:00
|
|
|
xProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasYAxisDescription" ), aFalseBool );
|
|
|
|
}
|
|
|
|
if( xInfo->supportsService( rtl::OUString::createFromAscii( "com.sun.star.chart.ChartTwoAxisYSupplier" )))
|
|
|
|
{
|
|
|
|
xProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasSecondaryYAxis" ), aFalseBool );
|
|
|
|
xProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasSecondaryYAxisDescription" ), aFalseBool );
|
|
|
|
}
|
|
|
|
|
|
|
|
if( xInfo->supportsService( rtl::OUString::createFromAscii( "com.sun.star.chart.ChartAxisZSupplier" )))
|
|
|
|
{
|
|
|
|
xProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasZAxis" ), aFalseBool );
|
|
|
|
xProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasZAxisDescription" ), aFalseBool );
|
|
|
|
}
|
|
|
|
uno::Any aAny;
|
|
|
|
chart::ChartDataRowSource eSource = chart::ChartDataRowSource_COLUMNS;
|
|
|
|
aAny <<= eSource;
|
|
|
|
xProp->setPropertyValue( rtl::OUString::createFromAscii( "DataRowSource" ), aAny );
|
|
|
|
}
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
catch( beans::UnknownPropertyException & )
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
|
|
|
DBG_ERROR( "Property required by service not supported" );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
SchXMLPlotAreaContext::~SchXMLPlotAreaContext()
|
|
|
|
{}
|
|
|
|
|
|
|
|
void SchXMLPlotAreaContext::StartElement( const uno::Reference< xml::sax::XAttributeList >& xAttrList )
|
|
|
|
{
|
2000-12-22 10:57:05 +00:00
|
|
|
uno::Any aTransMatrixAny;
|
2000-11-27 16:37:52 +00:00
|
|
|
|
|
|
|
// initialize size and position
|
|
|
|
uno::Reference< drawing::XShape > xDiaShape( mxDiagram, uno::UNO_QUERY );
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
bool bHasSizeWidth = false;
|
|
|
|
bool bHasSizeHeight = false;
|
|
|
|
bool bHasPositionX = false;
|
|
|
|
bool bHasPositionY = false;
|
2000-11-27 16:37:52 +00:00
|
|
|
|
2000-09-18 16:07:07 +00:00
|
|
|
// parse attributes
|
|
|
|
sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0;
|
|
|
|
const SvXMLTokenMap& rAttrTokenMap = mrImportHelper.GetPlotAreaAttrTokenMap();
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
uno::Reference< chart2::XChartDocument > xNewDoc( GetImport().GetModel(), uno::UNO_QUERY );
|
2001-05-28 08:41:55 +00:00
|
|
|
|
2000-09-18 16:07:07 +00:00
|
|
|
for( sal_Int16 i = 0; i < nAttrCount; i++ )
|
|
|
|
{
|
2000-11-27 16:37:52 +00:00
|
|
|
rtl::OUString sAttrName = xAttrList->getNameByIndex( i );
|
2000-09-18 16:07:07 +00:00
|
|
|
rtl::OUString aLocalName;
|
|
|
|
rtl::OUString aValue = xAttrList->getValueByIndex( i );
|
|
|
|
USHORT nPrefix = GetImport().GetNamespaceMap().GetKeyByAttrName( sAttrName, &aLocalName );
|
|
|
|
|
|
|
|
switch( rAttrTokenMap.Get( nPrefix, aLocalName ))
|
|
|
|
{
|
|
|
|
case XML_TOK_PA_X:
|
2001-03-28 18:30:56 +00:00
|
|
|
GetImport().GetMM100UnitConverter().convertMeasure( maPosition.X, aValue );
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
bHasPositionX = true;
|
2000-11-27 16:37:52 +00:00
|
|
|
break;
|
2000-09-18 16:07:07 +00:00
|
|
|
case XML_TOK_PA_Y:
|
2001-03-28 18:30:56 +00:00
|
|
|
GetImport().GetMM100UnitConverter().convertMeasure( maPosition.Y, aValue );
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
bHasPositionY = true;
|
2000-11-27 16:37:52 +00:00
|
|
|
break;
|
2000-09-18 16:07:07 +00:00
|
|
|
case XML_TOK_PA_WIDTH:
|
2001-03-28 18:30:56 +00:00
|
|
|
GetImport().GetMM100UnitConverter().convertMeasure( maSize.Width, aValue );
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
bHasSizeWidth = true;
|
2000-11-27 16:37:52 +00:00
|
|
|
break;
|
2000-09-18 16:07:07 +00:00
|
|
|
case XML_TOK_PA_HEIGHT:
|
2001-03-28 18:30:56 +00:00
|
|
|
GetImport().GetMM100UnitConverter().convertMeasure( maSize.Height, aValue );
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
bHasSizeHeight = true;
|
2000-09-18 16:07:07 +00:00
|
|
|
break;
|
|
|
|
case XML_TOK_PA_STYLE_NAME:
|
2001-03-28 18:30:56 +00:00
|
|
|
msAutoStyleName = aValue;
|
|
|
|
break;
|
2001-05-15 11:27:08 +00:00
|
|
|
case XML_TOK_PA_CHART_ADDRESS:
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
mrChartAddress = lcl_ConvertRange( aValue, xNewDoc );
|
|
|
|
// indicator for getting data from the outside
|
|
|
|
mrHasOwnTable = sal_False;
|
2001-05-17 14:48:47 +00:00
|
|
|
break;
|
2001-05-28 08:41:55 +00:00
|
|
|
case XML_TOK_PA_DS_HAS_LABELS:
|
|
|
|
{
|
|
|
|
if( aValue.equals( ::xmloff::token::GetXMLToken( ::xmloff::token::XML_BOTH )))
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
mrColHasLabels = mrRowHasLabels = sal_True;
|
2001-05-28 08:41:55 +00:00
|
|
|
else if( aValue.equals( ::xmloff::token::GetXMLToken( ::xmloff::token::XML_ROW )))
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
mrRowHasLabels = sal_True;
|
2001-05-28 08:41:55 +00:00
|
|
|
else if( aValue.equals( ::xmloff::token::GetXMLToken( ::xmloff::token::XML_COLUMN )))
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
mrColHasLabels = sal_True;
|
2001-05-28 08:41:55 +00:00
|
|
|
}
|
|
|
|
break;
|
2005-07-05 09:55:30 +00:00
|
|
|
case XML_TOK_PA_TRANSFORM:
|
|
|
|
case XML_TOK_PA_VRP:
|
|
|
|
case XML_TOK_PA_VPN:
|
|
|
|
case XML_TOK_PA_VUP:
|
|
|
|
case XML_TOK_PA_PROJECTION:
|
|
|
|
case XML_TOK_PA_DISTANCE:
|
|
|
|
case XML_TOK_PA_FOCAL_LENGTH:
|
|
|
|
case XML_TOK_PA_SHADOW_SLANT:
|
|
|
|
case XML_TOK_PA_SHADE_MODE:
|
|
|
|
case XML_TOK_PA_AMBIENT_COLOR:
|
|
|
|
case XML_TOK_PA_LIGHTING_MODE:
|
2001-03-28 18:30:56 +00:00
|
|
|
maSceneImportHelper.processSceneAttribute( nPrefix, aLocalName, aValue );
|
2000-09-18 16:07:07 +00:00
|
|
|
break;
|
2000-12-22 10:57:05 +00:00
|
|
|
}
|
|
|
|
}
|
2001-05-28 08:41:55 +00:00
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
mbHasSize = bHasSizeWidth && bHasSizeHeight;
|
|
|
|
mbHasPosition = bHasPositionX && bHasPositionY;
|
|
|
|
|
|
|
|
if( ! mxNewDoc.is())
|
2001-05-28 08:41:55 +00:00
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
uno::Reference< beans::XPropertySet > xDocProp( mrImportHelper.GetChartDocument(), uno::UNO_QUERY );
|
|
|
|
if( xDocProp.is())
|
2001-05-28 08:41:55 +00:00
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
try
|
|
|
|
{
|
|
|
|
uno::Any aAny;
|
|
|
|
aAny <<= (sal_Bool)(mrColHasLabels);
|
|
|
|
xDocProp->setPropertyValue(
|
|
|
|
::rtl::OUString::createFromAscii( "DataSourceLabelsInFirstColumn" ),
|
|
|
|
aAny );
|
|
|
|
|
|
|
|
aAny <<= (sal_Bool)(mrRowHasLabels);
|
|
|
|
xDocProp->setPropertyValue(
|
|
|
|
::rtl::OUString::createFromAscii( "DataSourceLabelsInFirstRow" ),
|
|
|
|
aAny );
|
|
|
|
}
|
|
|
|
catch( beans::UnknownPropertyException & )
|
|
|
|
{
|
|
|
|
DBG_ERRORFILE( "Properties missing" );
|
|
|
|
}
|
2001-05-28 08:41:55 +00:00
|
|
|
}
|
|
|
|
}
|
2000-12-22 10:57:05 +00:00
|
|
|
|
2001-01-09 13:26:06 +00:00
|
|
|
// set properties
|
2000-12-22 10:57:05 +00:00
|
|
|
uno::Reference< beans::XPropertySet > xProp( mxDiagram, uno::UNO_QUERY );
|
2001-03-28 18:30:56 +00:00
|
|
|
if( msAutoStyleName.getLength())
|
2001-01-09 13:26:06 +00:00
|
|
|
{
|
|
|
|
if( xProp.is())
|
|
|
|
{
|
|
|
|
const SvXMLStylesContext* pStylesCtxt = mrImportHelper.GetAutoStylesContext();
|
|
|
|
if( pStylesCtxt )
|
|
|
|
{
|
|
|
|
const SvXMLStyleContext* pStyle = pStylesCtxt->FindStyleChildContext(
|
2001-03-28 18:30:56 +00:00
|
|
|
mrImportHelper.GetChartFamilyID(), msAutoStyleName );
|
2001-01-09 13:26:06 +00:00
|
|
|
|
|
|
|
if( pStyle && pStyle->ISA( XMLPropStyleContext ))
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
{
|
2001-01-09 13:26:06 +00:00
|
|
|
(( XMLPropStyleContext* )pStyle )->FillPropertySet( xProp );
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
|
|
|
|
// get the data row source that was set without having data
|
|
|
|
xProp->getPropertyValue( ::rtl::OUString::createFromAscii("DataRowSource"))
|
|
|
|
>>= mrDataRowSource;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//remember default values for dataseries
|
|
|
|
if(xProp.is())
|
|
|
|
try
|
|
|
|
{
|
|
|
|
mrSeriesDefaultsAndStyles.maSymbolTypeDefault = xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SymbolType")));
|
|
|
|
mrSeriesDefaultsAndStyles.maDataCaptionDefault = xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DataCaption")));
|
|
|
|
|
|
|
|
mrSeriesDefaultsAndStyles.maErrorIndicatorDefault = xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ErrorIndicator")));
|
|
|
|
mrSeriesDefaultsAndStyles.maErrorCategoryDefault = xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ErrorCategory")));
|
|
|
|
mrSeriesDefaultsAndStyles.maConstantErrorLowDefault = xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ConstantErrorLow")));
|
|
|
|
mrSeriesDefaultsAndStyles.maConstantErrorHighDefault = xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ConstantErrorHigh")));
|
|
|
|
mrSeriesDefaultsAndStyles.maPercentageErrorDefault = xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("PercentageError")));
|
|
|
|
mrSeriesDefaultsAndStyles.maErrorMarginDefault = xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ErrorMargin")));
|
|
|
|
|
|
|
|
mrSeriesDefaultsAndStyles.maMeanValueDefault = xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MeanValue")));
|
|
|
|
mrSeriesDefaultsAndStyles.maRegressionCurvesDefault = xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RegressionCurves")));
|
|
|
|
|
|
|
|
bool bStacked = false;
|
|
|
|
mrSeriesDefaultsAndStyles.maStackedDefault = xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Stacked")));
|
|
|
|
mrSeriesDefaultsAndStyles.maStackedDefault >>= bStacked;
|
|
|
|
mrSeriesDefaultsAndStyles.maPercentDefault = xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Percent")));
|
|
|
|
mrSeriesDefaultsAndStyles.maPercentDefault >>= mbPercentStacked;
|
|
|
|
mrSeriesDefaultsAndStyles.maStackedBarsConnectedDefault = xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("StackedBarsConnected")));
|
|
|
|
|
|
|
|
//lines on/off
|
|
|
|
mrSeriesDefaultsAndStyles.maLinesOnProperty = xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Lines")));
|
|
|
|
|
|
|
|
// deep
|
|
|
|
uno::Any aDeepProperty( xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Deep"))));
|
|
|
|
// #124488# old versions store a 3d area and 3D line deep chart with Deep==false => workaround for this
|
|
|
|
if( ! (bStacked || mbPercentStacked ))
|
|
|
|
{
|
|
|
|
sal_Int32 nBuildId = 0;
|
|
|
|
sal_Int32 nUPD;
|
|
|
|
if( !GetImport().getBuildIds( nUPD, nBuildId ) )
|
|
|
|
{
|
|
|
|
bool bIs3d = false;
|
|
|
|
if( ( xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Dim3D"))) >>= bIs3d ) &&
|
|
|
|
bIs3d )
|
|
|
|
{
|
|
|
|
if( maChartTypeServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.chart2.AreaChartType" )) ||
|
|
|
|
maChartTypeServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.chart2.LineChartType" )) )
|
|
|
|
{
|
|
|
|
aDeepProperty <<= uno::makeAny( true );
|
|
|
|
}
|
|
|
|
}
|
2001-01-09 13:26:06 +00:00
|
|
|
}
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
}
|
|
|
|
mrSeriesDefaultsAndStyles.maDeepDefault = aDeepProperty;
|
|
|
|
|
|
|
|
xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("NumberOfLines"))) >>= mnNumOfLinesProp;
|
|
|
|
xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Volume"))) >>= mbStockHasVolume;
|
|
|
|
}
|
|
|
|
catch( uno::Exception & rEx )
|
|
|
|
{
|
|
|
|
#ifdef DBG_UTIL
|
|
|
|
String aStr( rEx.Message );
|
|
|
|
ByteString aBStr( aStr, RTL_TEXTENCODING_ASCII_US );
|
|
|
|
DBG_ERROR1( "PlotAreaContext:EndElement(): Exception caught: %s", aBStr.GetBuffer());
|
|
|
|
#else
|
|
|
|
(void)rEx; // avoid warning for pro build
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
//
|
|
|
|
|
|
|
|
if( mrHasOwnTable && mxNewDoc.is())
|
|
|
|
{
|
|
|
|
// we have no complete range => we have own data, so switch the data
|
|
|
|
// provider to internal. Clone is not necessary, as we don't have any
|
|
|
|
// data yet.
|
|
|
|
mxNewDoc->createInternalDataProvider( false /* bCloneExistingData */ );
|
|
|
|
}
|
|
|
|
}
|
2001-05-29 13:27:18 +00:00
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
SvXMLImportContext* SchXMLPlotAreaContext::CreateChildContext(
|
|
|
|
USHORT nPrefix,
|
|
|
|
const rtl::OUString& rLocalName,
|
|
|
|
const uno::Reference< xml::sax::XAttributeList >& xAttrList )
|
|
|
|
{
|
|
|
|
SvXMLImportContext* pContext = 0;
|
|
|
|
const SvXMLTokenMap& rTokenMap = mrImportHelper.GetPlotAreaElemTokenMap();
|
|
|
|
|
|
|
|
switch( rTokenMap.Get( nPrefix, rLocalName ))
|
|
|
|
{
|
|
|
|
case XML_TOK_PA_AXIS:
|
|
|
|
{
|
|
|
|
bool bAddMissingXAxisForNetCharts = false;
|
|
|
|
bool bAdaptWrongPercentScaleValues = false;
|
|
|
|
sal_Int32 nBuildId = 0;
|
|
|
|
sal_Int32 nUPD = 0;
|
|
|
|
if( !GetImport().getBuildIds( nUPD, nBuildId ) )
|
2001-05-29 13:27:18 +00:00
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
//correct errors from older versions
|
|
|
|
|
|
|
|
// for NetCharts there were no xAxis exported to older files
|
|
|
|
// so we need to add the x axis here for those old NetChart files
|
|
|
|
if( maChartTypeServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.chart2.NetChartType" )) )
|
|
|
|
bAddMissingXAxisForNetCharts = true;
|
|
|
|
|
|
|
|
//Issue 59288
|
|
|
|
if( mbPercentStacked )
|
|
|
|
bAdaptWrongPercentScaleValues = true;
|
2001-05-29 13:27:18 +00:00
|
|
|
}
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
|
|
|
|
pContext = new SchXMLAxisContext( mrImportHelper, GetImport(), rLocalName,
|
|
|
|
mxDiagram, maAxes, mrCategoriesAddress, bAddMissingXAxisForNetCharts, bAdaptWrongPercentScaleValues );
|
2001-01-09 13:26:06 +00:00
|
|
|
}
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case XML_TOK_PA_SERIES:
|
|
|
|
{
|
|
|
|
if( mxNewDoc.is())
|
|
|
|
{
|
|
|
|
pContext = new SchXMLSeries2Context(
|
|
|
|
mrImportHelper, GetImport(), rLocalName,
|
|
|
|
mxNewDoc, maAxes,
|
|
|
|
mrSeriesDefaultsAndStyles.maSeriesStyleList,
|
|
|
|
mnSeries, mnMaxSeriesLength,
|
|
|
|
mnNumOfLinesReadBySeries, mbStockHasVolume,
|
|
|
|
maFirstFirstDomainAddress,
|
|
|
|
mnFirstFirstDomainIndex,
|
|
|
|
mrAllRangeAddressesAvailable,
|
|
|
|
maChartTypeServiceName,
|
|
|
|
mrLSequencesPerIndex,
|
|
|
|
mnCurrentDataIndex,
|
|
|
|
mbGlobalChartTypeUsedBySeries );
|
|
|
|
}
|
|
|
|
mnSeries++;
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
|
|
|
|
case XML_TOK_PA_WALL:
|
|
|
|
pContext = new SchXMLWallFloorContext( mrImportHelper, GetImport(), nPrefix, rLocalName, mxDiagram,
|
|
|
|
SchXMLWallFloorContext::CONTEXT_TYPE_WALL );
|
|
|
|
break;
|
|
|
|
case XML_TOK_PA_FLOOR:
|
|
|
|
pContext = new SchXMLWallFloorContext( mrImportHelper, GetImport(), nPrefix, rLocalName, mxDiagram,
|
|
|
|
SchXMLWallFloorContext::CONTEXT_TYPE_FLOOR );
|
|
|
|
break;
|
|
|
|
|
|
|
|
case XML_TOK_PA_LIGHT_SOURCE:
|
|
|
|
pContext = maSceneImportHelper.create3DLightContext( nPrefix, rLocalName, xAttrList );
|
|
|
|
break;
|
|
|
|
|
|
|
|
// elements for stock charts
|
|
|
|
case XML_TOK_PA_STOCK_GAIN:
|
|
|
|
pContext = new SchXMLStockContext( mrImportHelper, GetImport(), nPrefix, rLocalName, mxDiagram,
|
|
|
|
SchXMLStockContext::CONTEXT_TYPE_GAIN );
|
|
|
|
break;
|
|
|
|
case XML_TOK_PA_STOCK_LOSS:
|
|
|
|
pContext = new SchXMLStockContext( mrImportHelper, GetImport(), nPrefix, rLocalName, mxDiagram,
|
|
|
|
SchXMLStockContext::CONTEXT_TYPE_LOSS );
|
|
|
|
break;
|
|
|
|
case XML_TOK_PA_STOCK_RANGE:
|
|
|
|
pContext = new SchXMLStockContext( mrImportHelper, GetImport(), nPrefix, rLocalName, mxDiagram,
|
|
|
|
SchXMLStockContext::CONTEXT_TYPE_RANGE );
|
|
|
|
break;
|
|
|
|
|
|
|
|
default:
|
|
|
|
pContext = new SvXMLImportContext( GetImport(), nPrefix, rLocalName );
|
2001-01-09 13:26:06 +00:00
|
|
|
}
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
|
|
|
|
return pContext;
|
2001-05-29 13:27:18 +00:00
|
|
|
}
|
2001-01-09 13:26:06 +00:00
|
|
|
|
2001-05-29 13:27:18 +00:00
|
|
|
void SchXMLPlotAreaContext::EndElement()
|
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
// set categories
|
|
|
|
if( mrCategoriesAddress.getLength() && mxNewDoc.is())
|
|
|
|
{
|
|
|
|
uno::Reference< chart2::data::XDataProvider > xDataProvider(
|
|
|
|
mrImportHelper.GetDataProvider( mxNewDoc ));
|
|
|
|
// @todo: correct coordinate system index
|
|
|
|
sal_Int32 nDimension( 0 );
|
|
|
|
::std::vector< SchXMLAxis >::const_iterator aIt(
|
|
|
|
::std::find_if( maAxes.begin(), maAxes.end(), lcl_AxisHasCategories()));
|
|
|
|
if( aIt != maAxes.end())
|
|
|
|
nDimension = static_cast< sal_Int32 >( (*aIt).eClass );
|
|
|
|
SchXMLTools::CreateCategories(
|
|
|
|
xDataProvider, mxNewDoc, mrCategoriesAddress,
|
|
|
|
0 /* nCooSysIndex */,
|
|
|
|
nDimension, &mrLSequencesPerIndex );
|
|
|
|
}
|
2001-05-29 13:27:18 +00:00
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
uno::Reference< beans::XPropertySet > xDiaProp( mxDiagram, uno::UNO_QUERY );
|
|
|
|
if( xDiaProp.is())
|
2000-12-22 10:57:05 +00:00
|
|
|
{
|
2001-05-29 13:27:18 +00:00
|
|
|
sal_Bool bIsThreeDim = sal_False;
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
uno::Any aAny = xDiaProp->getPropertyValue( ::rtl::OUString::createFromAscii( "Dim3D" ));
|
2001-05-29 13:27:18 +00:00
|
|
|
aAny >>= bIsThreeDim;
|
2001-03-28 18:30:56 +00:00
|
|
|
|
2001-05-29 13:27:18 +00:00
|
|
|
// set 3d scene attributes
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
if( bIsThreeDim )
|
2001-05-29 13:27:18 +00:00
|
|
|
{
|
|
|
|
// set scene attributes at diagram
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
maSceneImportHelper.setSceneAttributes( xDiaProp );
|
2001-05-29 13:27:18 +00:00
|
|
|
}
|
2004-08-20 07:12:32 +00:00
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
// if the property NumberOfLines and the number of series containing
|
|
|
|
// class="chart:line" as attribute are both different from 0 they must
|
|
|
|
// be equal
|
|
|
|
OSL_ASSERT( mnNumOfLinesProp == 0 || mnNumOfLinesReadBySeries == 0 ||
|
|
|
|
mnNumOfLinesProp == mnNumOfLinesReadBySeries );
|
|
|
|
|
|
|
|
// set correct number of lines at series
|
|
|
|
if( ! mrAllRangeAddressesAvailable &&
|
|
|
|
mnNumOfLinesReadBySeries == 0 &&
|
|
|
|
mnNumOfLinesProp > 0 &&
|
|
|
|
maChartTypeServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.chart2.ColumnChartType" )))
|
2004-08-20 07:12:32 +00:00
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
xDiaProp->setPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "NumberOfLines" )),
|
|
|
|
uno::makeAny( mnNumOfLinesProp ));
|
2004-08-20 07:12:32 +00:00
|
|
|
}
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
catch( uno::Exception & rEx )
|
2004-08-20 07:12:32 +00:00
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
#ifdef DBG_UTIL
|
|
|
|
String aStr( rEx.Message );
|
2004-08-20 07:12:32 +00:00
|
|
|
ByteString aBStr( aStr, RTL_TEXTENCODING_ASCII_US );
|
|
|
|
DBG_ERROR1( "Exception caught for property NumberOfLines: %s", aBStr.GetBuffer());
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
#else
|
|
|
|
(void)rEx; // avoid warning for pro build
|
|
|
|
#endif
|
2004-08-20 07:12:32 +00:00
|
|
|
}
|
|
|
|
}
|
2004-08-20 07:53:24 +00:00
|
|
|
|
|
|
|
// #i32366# stock has volume
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
if( ( 0 == mxDiagram->getDiagramType().reverseCompareToAsciiL(
|
|
|
|
RTL_CONSTASCII_STRINGPARAM( "com.sun.star.chart.StockDiagram" ))) &&
|
|
|
|
mbStockHasVolume )
|
2004-08-20 07:53:24 +00:00
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
xDiaProp->setPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Volume" )),
|
|
|
|
uno::makeAny( true ));
|
2004-08-20 07:53:24 +00:00
|
|
|
}
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
catch( uno::Exception & rEx )
|
2004-08-20 07:53:24 +00:00
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
#ifdef DBG_UTIL
|
|
|
|
String aStr( rEx.Message );
|
2004-08-20 07:53:24 +00:00
|
|
|
ByteString aBStr( aStr, RTL_TEXTENCODING_ASCII_US );
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
DBG_ERROR1( "Exception caught for property Volume: %s", aBStr.GetBuffer());
|
|
|
|
#else
|
|
|
|
(void)rEx; // avoid warning for pro build
|
|
|
|
#endif
|
2004-08-20 07:53:24 +00:00
|
|
|
}
|
|
|
|
}
|
2000-09-18 16:07:07 +00:00
|
|
|
}
|
2000-11-27 16:37:52 +00:00
|
|
|
|
2001-03-28 18:30:56 +00:00
|
|
|
// set changed size and position after properties (esp. 3d)
|
|
|
|
uno::Reference< drawing::XShape > xDiaShape( mxDiagram, uno::UNO_QUERY );
|
2000-11-27 16:37:52 +00:00
|
|
|
if( xDiaShape.is())
|
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
if( mbHasSize )
|
2005-07-05 09:55:30 +00:00
|
|
|
xDiaShape->setSize( maSize );
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
if( mbHasPosition )
|
2005-07-05 09:55:30 +00:00
|
|
|
xDiaShape->setPosition( maPosition );
|
2000-11-27 16:37:52 +00:00
|
|
|
}
|
2001-03-22 11:31:46 +00:00
|
|
|
}
|
|
|
|
|
2000-09-18 16:07:07 +00:00
|
|
|
// ========================================
|
|
|
|
|
|
|
|
SchXMLAxisContext::SchXMLAxisContext( SchXMLImportHelper& rImpHelper,
|
|
|
|
SvXMLImport& rImport, const rtl::OUString& rLocalName,
|
|
|
|
uno::Reference< chart::XDiagram > xDiagram,
|
2004-07-13 07:03:32 +00:00
|
|
|
std::vector< SchXMLAxis >& aAxes,
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
::rtl::OUString & rCategoriesAddress,
|
|
|
|
bool bAddMissingXAxisForNetCharts,
|
|
|
|
bool bAdaptWrongPercentScaleValues ) :
|
2000-09-18 16:07:07 +00:00
|
|
|
SvXMLImportContext( rImport, XML_NAMESPACE_CHART, rLocalName ),
|
|
|
|
mrImportHelper( rImpHelper ),
|
|
|
|
mxDiagram( xDiagram ),
|
2004-07-13 07:03:32 +00:00
|
|
|
maAxes( aAxes ),
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
mrCategoriesAddress( rCategoriesAddress ),
|
|
|
|
mbAddMissingXAxisForNetCharts( bAddMissingXAxisForNetCharts ),
|
|
|
|
mbAdaptWrongPercentScaleValues( bAdaptWrongPercentScaleValues )
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
SchXMLAxisContext::~SchXMLAxisContext()
|
|
|
|
{}
|
|
|
|
|
2000-11-27 16:37:52 +00:00
|
|
|
/* returns a shape for the current axis's title. The property
|
|
|
|
"Has...AxisTitle" is set to "True" to get the shape
|
|
|
|
*/
|
|
|
|
uno::Reference< drawing::XShape > SchXMLAxisContext::getTitleShape()
|
|
|
|
{
|
|
|
|
uno::Reference< drawing::XShape > xResult;
|
|
|
|
uno::Any aTrueBool;
|
|
|
|
aTrueBool <<= (sal_Bool)(sal_True);
|
|
|
|
uno::Reference< beans::XPropertySet > xDiaProp( mxDiagram, uno::UNO_QUERY );
|
|
|
|
|
|
|
|
switch( maCurrentAxis.eClass )
|
|
|
|
{
|
2004-11-15 11:35:19 +00:00
|
|
|
case SCH_XML_AXIS_X:
|
2000-11-27 16:37:52 +00:00
|
|
|
if( maCurrentAxis.nIndexInCategory == 0 )
|
|
|
|
{
|
|
|
|
uno::Reference< chart::XAxisXSupplier > xSuppl( mxDiagram, uno::UNO_QUERY );
|
|
|
|
if( xSuppl.is())
|
|
|
|
{
|
|
|
|
if( xDiaProp.is())
|
|
|
|
xDiaProp->setPropertyValue( rtl::OUString::createFromAscii( "HasXAxisTitle" ), aTrueBool );
|
|
|
|
xResult = uno::Reference< drawing::XShape >( xSuppl->getXAxisTitle(), uno::UNO_QUERY );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
2004-11-15 11:35:19 +00:00
|
|
|
case SCH_XML_AXIS_Y:
|
2000-11-27 16:37:52 +00:00
|
|
|
if( maCurrentAxis.nIndexInCategory == 0 )
|
|
|
|
{
|
|
|
|
uno::Reference< chart::XAxisYSupplier > xSuppl( mxDiagram, uno::UNO_QUERY );
|
|
|
|
if( xSuppl.is())
|
|
|
|
{
|
|
|
|
if( xDiaProp.is())
|
|
|
|
xDiaProp->setPropertyValue( rtl::OUString::createFromAscii( "HasYAxisTitle" ), aTrueBool );
|
|
|
|
xResult = uno::Reference< drawing::XShape >( xSuppl->getYAxisTitle(), uno::UNO_QUERY );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
2004-11-15 11:35:19 +00:00
|
|
|
case SCH_XML_AXIS_Z:
|
2006-06-19 17:01:57 +00:00
|
|
|
{
|
2000-11-27 16:37:52 +00:00
|
|
|
uno::Reference< chart::XAxisZSupplier > xSuppl( mxDiagram, uno::UNO_QUERY );
|
|
|
|
if( xSuppl.is())
|
|
|
|
{
|
|
|
|
if( xDiaProp.is())
|
|
|
|
xDiaProp->setPropertyValue( rtl::OUString::createFromAscii( "HasZAxisTitle" ), aTrueBool );
|
|
|
|
xResult = uno::Reference< drawing::XShape >( xSuppl->getZAxisTitle(), uno::UNO_QUERY );
|
|
|
|
}
|
|
|
|
break;
|
2006-06-19 17:01:57 +00:00
|
|
|
}
|
|
|
|
case SCH_XML_AXIS_UNDEF:
|
|
|
|
DBG_ERROR( "Invalid axis" );
|
|
|
|
break;
|
2000-11-27 16:37:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return xResult;
|
|
|
|
}
|
|
|
|
|
2000-11-29 12:57:56 +00:00
|
|
|
void SchXMLAxisContext::CreateGrid( ::rtl::OUString sAutoStyleName,
|
|
|
|
sal_Bool bIsMajor )
|
|
|
|
{
|
|
|
|
uno::Reference< chart::XDiagram > xDia = mrImportHelper.GetChartDocument()->getDiagram();
|
|
|
|
uno::Reference< beans::XPropertySet > xGridProp;
|
|
|
|
::rtl::OUString sPropertyName;
|
|
|
|
DBG_ASSERT( xDia.is(), "diagram object is invalid!" );
|
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
uno::Reference< beans::XPropertySet > xDiaProp( xDia, uno::UNO_QUERY );
|
|
|
|
uno::Any aTrueBool( uno::makeAny( true ));
|
|
|
|
|
2000-11-29 12:57:56 +00:00
|
|
|
switch( maCurrentAxis.eClass )
|
|
|
|
{
|
2004-11-15 11:35:19 +00:00
|
|
|
case SCH_XML_AXIS_X:
|
2000-11-29 12:57:56 +00:00
|
|
|
{
|
|
|
|
uno::Reference< chart::XAxisXSupplier > xSuppl( xDia, uno::UNO_QUERY );
|
|
|
|
if( xSuppl.is())
|
|
|
|
{
|
|
|
|
if( bIsMajor )
|
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
if( xDiaProp.is())
|
|
|
|
xDiaProp->setPropertyValue( ::rtl::OUString::createFromAscii("HasXAxisGrid"), aTrueBool );
|
2000-11-29 12:57:56 +00:00
|
|
|
xGridProp = xSuppl->getXMainGrid();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
if( xDiaProp.is())
|
|
|
|
xDiaProp->setPropertyValue( ::rtl::OUString::createFromAscii("HasXAxisHelpGrid"), aTrueBool );
|
2000-11-29 12:57:56 +00:00
|
|
|
xGridProp = xSuppl->getXHelpGrid();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
2004-11-15 11:35:19 +00:00
|
|
|
case SCH_XML_AXIS_Y:
|
2000-11-29 12:57:56 +00:00
|
|
|
{
|
|
|
|
uno::Reference< chart::XAxisYSupplier > xSuppl( xDia, uno::UNO_QUERY );
|
|
|
|
if( xSuppl.is())
|
|
|
|
{
|
|
|
|
if( bIsMajor )
|
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
if( xDiaProp.is())
|
|
|
|
xDiaProp->setPropertyValue( ::rtl::OUString::createFromAscii("HasYAxisGrid"), aTrueBool );
|
2000-11-29 12:57:56 +00:00
|
|
|
xGridProp = xSuppl->getYMainGrid();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
if( xDiaProp.is())
|
|
|
|
xDiaProp->setPropertyValue( ::rtl::OUString::createFromAscii("HasYAxisHelpGrid"), aTrueBool );
|
2000-11-29 12:57:56 +00:00
|
|
|
xGridProp = xSuppl->getYHelpGrid();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
2004-11-15 11:35:19 +00:00
|
|
|
case SCH_XML_AXIS_Z:
|
2000-11-29 12:57:56 +00:00
|
|
|
{
|
|
|
|
uno::Reference< chart::XAxisZSupplier > xSuppl( xDia, uno::UNO_QUERY );
|
|
|
|
if( xSuppl.is())
|
|
|
|
{
|
|
|
|
if( bIsMajor )
|
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
if( xDiaProp.is())
|
|
|
|
xDiaProp->setPropertyValue( ::rtl::OUString::createFromAscii("HasZAxisGrid"), aTrueBool );
|
2000-11-29 12:57:56 +00:00
|
|
|
xGridProp = xSuppl->getZMainGrid();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
if( xDiaProp.is())
|
|
|
|
xDiaProp->setPropertyValue( ::rtl::OUString::createFromAscii("HasZAxisHelpGrid"), aTrueBool );
|
2000-11-29 12:57:56 +00:00
|
|
|
xGridProp = xSuppl->getZHelpGrid();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
2006-06-19 17:01:57 +00:00
|
|
|
case SCH_XML_AXIS_UNDEF:
|
|
|
|
DBG_ERROR( "Invalid axis" );
|
|
|
|
break;
|
2000-11-29 12:57:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// set properties
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
if( xGridProp.is())
|
2000-11-29 12:57:56 +00:00
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
// the line color is black as default, in the model it is a light gray
|
|
|
|
xGridProp->setPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "LineColor" )),
|
|
|
|
uno::makeAny( COL_BLACK ));
|
|
|
|
if( sAutoStyleName.getLength())
|
2000-11-29 12:57:56 +00:00
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
const SvXMLStylesContext* pStylesCtxt = mrImportHelper.GetAutoStylesContext();
|
|
|
|
if( pStylesCtxt )
|
|
|
|
{
|
|
|
|
const SvXMLStyleContext* pStyle = pStylesCtxt->FindStyleChildContext(
|
|
|
|
mrImportHelper.GetChartFamilyID(), sAutoStyleName );
|
2000-11-29 12:57:56 +00:00
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
if( pStyle && pStyle->ISA( XMLPropStyleContext ))
|
|
|
|
(( XMLPropStyleContext* )pStyle )->FillPropertySet( xGridProp );
|
|
|
|
}
|
2000-11-29 12:57:56 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2000-09-18 16:07:07 +00:00
|
|
|
void SchXMLAxisContext::StartElement( const uno::Reference< xml::sax::XAttributeList >& xAttrList )
|
|
|
|
{
|
|
|
|
// parse attributes
|
|
|
|
sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0;
|
|
|
|
SchXMLImport& rImport = ( SchXMLImport& )GetImport();
|
|
|
|
const SvXMLTokenMap& rAttrTokenMap = mrImportHelper.GetAxisAttrTokenMap();
|
|
|
|
|
|
|
|
for( sal_Int16 i = 0; i < nAttrCount; i++ )
|
|
|
|
{
|
|
|
|
rtl::OUString sAttrName = xAttrList->getNameByIndex( i );
|
|
|
|
rtl::OUString aLocalName;
|
|
|
|
rtl::OUString aValue = xAttrList->getValueByIndex( i );
|
|
|
|
USHORT nPrefix = GetImport().GetNamespaceMap().GetKeyByAttrName( sAttrName, &aLocalName );
|
|
|
|
|
|
|
|
switch( rAttrTokenMap.Get( nPrefix, aLocalName ))
|
|
|
|
{
|
2004-11-15 11:35:19 +00:00
|
|
|
case XML_TOK_AXIS_DIMENSION:
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
|
|
|
USHORT nEnumVal;
|
|
|
|
if( rImport.GetMM100UnitConverter().convertEnum( nEnumVal, aValue, aXMLAxisClassMap ))
|
|
|
|
maCurrentAxis.eClass = ( SchXMLAxisClass )nEnumVal;
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case XML_TOK_AXIS_NAME:
|
|
|
|
maCurrentAxis.aName = aValue;
|
|
|
|
break;
|
|
|
|
case XML_TOK_AXIS_STYLE_NAME:
|
|
|
|
msAutoStyleName = aValue;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// check for number of axes with same category
|
|
|
|
maCurrentAxis.nIndexInCategory = 0;
|
|
|
|
sal_Int32 nNumOfAxes = maAxes.size();
|
|
|
|
for( sal_Int32 nCurrent = 0; nCurrent < nNumOfAxes; nCurrent++ )
|
|
|
|
{
|
|
|
|
if( maAxes[ nCurrent ].eClass == maCurrentAxis.eClass )
|
|
|
|
maCurrentAxis.nIndexInCategory++;
|
|
|
|
}
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
CreateAxis();
|
2000-09-18 16:07:07 +00:00
|
|
|
}
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
namespace
|
|
|
|
{
|
2000-09-18 16:07:07 +00:00
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
uno::Reference< chart2::XAxis > lcl_getAxis( const uno::Reference< frame::XModel >& xChartModel,
|
|
|
|
sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex )
|
|
|
|
{
|
|
|
|
uno::Reference< chart2::XAxis > xAxis;
|
|
|
|
|
|
|
|
try
|
|
|
|
{
|
|
|
|
uno::Reference< chart2::XChartDocument > xChart2Document( xChartModel, uno::UNO_QUERY );
|
|
|
|
if( xChart2Document.is() )
|
|
|
|
{
|
|
|
|
uno::Reference< chart2::XDiagram > xDiagram( xChart2Document->getFirstDiagram());
|
|
|
|
uno::Reference< chart2::XCoordinateSystemContainer > xCooSysCnt( xDiagram, uno::UNO_QUERY_THROW );
|
|
|
|
uno::Sequence< uno::Reference< chart2::XCoordinateSystem > >
|
|
|
|
aCooSysSeq( xCooSysCnt->getCoordinateSystems());
|
|
|
|
sal_Int32 nCooSysIndex = 0;
|
|
|
|
if( nCooSysIndex < aCooSysSeq.getLength() )
|
|
|
|
{
|
|
|
|
uno::Reference< chart2::XCoordinateSystem > xCooSys( aCooSysSeq[nCooSysIndex] );
|
|
|
|
if( xCooSys.is() && nDimensionIndex < xCooSys->getDimension() )
|
|
|
|
{
|
|
|
|
const sal_Int32 nMaxAxisIndex = xCooSys->getMaximumAxisIndexByDimension(nDimensionIndex);
|
|
|
|
if( nAxisIndex <= nMaxAxisIndex )
|
|
|
|
xAxis = xCooSys->getAxisByDimension( nDimensionIndex, nAxisIndex );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch( uno::Exception & )
|
|
|
|
{
|
|
|
|
DBG_ERROR( "Couldn't get axis" );
|
|
|
|
}
|
|
|
|
|
|
|
|
return xAxis;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool lcl_divideBy100( uno::Any& rDoubleAny )
|
|
|
|
{
|
|
|
|
bool bChanged = false;
|
|
|
|
double fValue=0.0;
|
|
|
|
if( (rDoubleAny>>=fValue) && (fValue!=0.0) )
|
|
|
|
{
|
|
|
|
fValue/=100.0;
|
|
|
|
rDoubleAny = uno::makeAny(fValue);
|
|
|
|
bChanged = true;
|
|
|
|
}
|
|
|
|
return bChanged;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool lcl_AdaptWrongPercentScaleValues(chart2::ScaleData& rScaleData)
|
|
|
|
{
|
|
|
|
bool bChanged = lcl_divideBy100( rScaleData.Minimum );
|
|
|
|
bChanged = lcl_divideBy100( rScaleData.Maximum ) || bChanged;
|
|
|
|
bChanged = lcl_divideBy100( rScaleData.Origin ) || bChanged;
|
|
|
|
bChanged = lcl_divideBy100( rScaleData.IncrementData.Distance ) || bChanged;
|
|
|
|
return bChanged;
|
|
|
|
}
|
|
|
|
|
|
|
|
}//end anonymous namespace
|
|
|
|
|
|
|
|
void SchXMLAxisContext::CreateAxis()
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
|
|
|
// add new Axis to list
|
|
|
|
maAxes.push_back( maCurrentAxis );
|
|
|
|
|
|
|
|
// set axis at chart
|
|
|
|
uno::Reference< beans::XPropertySet > xDiaProp( mxDiagram, uno::UNO_QUERY );
|
|
|
|
uno::Reference< beans::XPropertySet > xProp;
|
|
|
|
uno::Any aTrueBool;
|
|
|
|
aTrueBool <<= (sal_Bool)(sal_True);
|
2001-03-27 12:24:46 +00:00
|
|
|
uno::Reference< frame::XModel > xDoc( mrImportHelper.GetChartDocument(), uno::UNO_QUERY );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
switch( maCurrentAxis.eClass )
|
|
|
|
{
|
2004-11-15 11:35:19 +00:00
|
|
|
case SCH_XML_AXIS_X:
|
2000-09-18 16:07:07 +00:00
|
|
|
if( maCurrentAxis.nIndexInCategory == 0 )
|
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
|
|
|
xDiaProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasXAxis" ), aTrueBool );
|
|
|
|
}
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
catch( beans::UnknownPropertyException & )
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
|
|
|
DBG_ERROR( "Couldn't turn on x axis" );
|
|
|
|
}
|
|
|
|
uno::Reference< chart::XAxisXSupplier > xSuppl( mxDiagram, uno::UNO_QUERY );
|
|
|
|
if( xSuppl.is())
|
|
|
|
xProp = xSuppl->getXAxis();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
|
|
|
xDiaProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasSecondaryXAxis" ), aTrueBool );
|
|
|
|
}
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
catch( beans::UnknownPropertyException & )
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
|
|
|
DBG_ERROR( "Couldn't turn on second x axis" );
|
|
|
|
}
|
|
|
|
uno::Reference< chart::XTwoAxisXSupplier > xSuppl( mxDiagram, uno::UNO_QUERY );
|
|
|
|
if( xSuppl.is())
|
|
|
|
xProp = xSuppl->getSecondaryXAxis();
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
|
2004-11-15 11:35:19 +00:00
|
|
|
case SCH_XML_AXIS_Y:
|
2000-09-18 16:07:07 +00:00
|
|
|
if( maCurrentAxis.nIndexInCategory == 0 )
|
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
|
|
|
xDiaProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasYAxis" ), aTrueBool );
|
|
|
|
}
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
catch( beans::UnknownPropertyException & )
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
|
|
|
DBG_ERROR( "Couldn't turn on y axis" );
|
|
|
|
}
|
|
|
|
uno::Reference< chart::XAxisYSupplier > xSuppl( mxDiagram, uno::UNO_QUERY );
|
|
|
|
if( xSuppl.is())
|
|
|
|
xProp = xSuppl->getYAxis();
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
if( mbAddMissingXAxisForNetCharts )
|
|
|
|
{
|
|
|
|
if( xDiaProp.is() )
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
try
|
2000-11-24 14:08:19 +00:00
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
xDiaProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasXAxis" ), uno::makeAny(sal_True) );
|
|
|
|
}
|
|
|
|
catch( beans::UnknownPropertyException & )
|
|
|
|
{
|
|
|
|
DBG_ERROR( "Couldn't turn on x axis" );
|
2000-11-24 14:08:19 +00:00
|
|
|
}
|
2000-09-18 16:07:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
|
|
|
xDiaProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasSecondaryYAxis" ), aTrueBool );
|
|
|
|
}
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
catch( beans::UnknownPropertyException & )
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
|
|
|
DBG_ERROR( "Couldn't turn on second y axis" );
|
|
|
|
}
|
|
|
|
uno::Reference< chart::XTwoAxisYSupplier > xSuppl( mxDiagram, uno::UNO_QUERY );
|
|
|
|
if( xSuppl.is())
|
|
|
|
xProp = xSuppl->getSecondaryYAxis();
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
|
2004-11-15 11:35:19 +00:00
|
|
|
case SCH_XML_AXIS_Z:
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
|
|
|
xDiaProp->setPropertyValue(
|
|
|
|
rtl::OUString::createFromAscii( "HasZAxis" ), aTrueBool );
|
|
|
|
}
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
catch( beans::UnknownPropertyException & )
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
|
|
|
DBG_ERROR( "Couldn't turn on z axis" );
|
|
|
|
}
|
|
|
|
uno::Reference< chart::XAxisZSupplier > xSuppl( mxDiagram, uno::UNO_QUERY );
|
|
|
|
if( xSuppl.is())
|
|
|
|
xProp = xSuppl->getZAxis();
|
|
|
|
}
|
|
|
|
break;
|
2006-06-19 17:01:57 +00:00
|
|
|
case SCH_XML_AXIS_UNDEF:
|
|
|
|
// nothing
|
|
|
|
break;
|
2000-09-18 16:07:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// set properties
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
if( xProp.is())
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
2001-06-13 12:59:26 +00:00
|
|
|
// #88077# AutoOrigin 'on' is default
|
|
|
|
xProp->setPropertyValue( rtl::OUString::createFromAscii( "AutoOrigin" ), aTrueBool );
|
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
if( msAutoStyleName.getLength())
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
const SvXMLStylesContext* pStylesCtxt = mrImportHelper.GetAutoStylesContext();
|
|
|
|
if( pStylesCtxt )
|
|
|
|
{
|
|
|
|
const SvXMLStyleContext* pStyle = pStylesCtxt->FindStyleChildContext(
|
|
|
|
mrImportHelper.GetChartFamilyID(), msAutoStyleName );
|
|
|
|
|
|
|
|
if( pStyle && pStyle->ISA( XMLPropStyleContext ))
|
|
|
|
{
|
|
|
|
(( XMLPropStyleContext* )pStyle )->FillPropertySet( xProp );
|
2000-09-18 16:07:07 +00:00
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
if( mbAdaptWrongPercentScaleValues && maCurrentAxis.eClass==SCH_XML_AXIS_Y )
|
|
|
|
{
|
|
|
|
//set scale data of added x axis back to default
|
|
|
|
uno::Reference< chart2::XAxis > xAxis( lcl_getAxis( GetImport().GetModel(),
|
|
|
|
1 /*nDimensionIndex*/, maCurrentAxis.nIndexInCategory /*nAxisIndex*/ ) );
|
|
|
|
if( xAxis.is() )
|
|
|
|
{
|
|
|
|
chart2::ScaleData aScaleData( xAxis->getScaleData());
|
|
|
|
if( lcl_AdaptWrongPercentScaleValues(aScaleData) )
|
|
|
|
xAxis->setScaleData( aScaleData );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if( mbAddMissingXAxisForNetCharts )
|
|
|
|
{
|
|
|
|
//copy style from y axis to added x axis:
|
|
|
|
|
|
|
|
uno::Reference< chart::XAxisXSupplier > xSuppl( mxDiagram, uno::UNO_QUERY );
|
|
|
|
if( xSuppl.is() )
|
|
|
|
{
|
|
|
|
uno::Reference< beans::XPropertySet > xXAxisProp( xSuppl->getXAxis() );
|
|
|
|
(( XMLPropStyleContext* )pStyle )->FillPropertySet( xXAxisProp );
|
|
|
|
}
|
|
|
|
|
|
|
|
//set scale data of added x axis back to default
|
|
|
|
uno::Reference< chart2::XAxis > xAxis( lcl_getAxis( GetImport().GetModel(),
|
|
|
|
0 /*nDimensionIndex*/, 0 /*nAxisIndex*/ ) );
|
|
|
|
if( xAxis.is() )
|
|
|
|
{
|
|
|
|
chart2::ScaleData aScaleData;
|
|
|
|
aScaleData.AxisType = chart2::AxisType::CATEGORY;
|
|
|
|
aScaleData.Orientation = chart2::AxisOrientation_MATHEMATICAL;
|
|
|
|
xAxis->setScaleData( aScaleData );
|
|
|
|
}
|
|
|
|
|
|
|
|
//set line style of added x axis to invisible
|
|
|
|
uno::Reference< beans::XPropertySet > xNewAxisProp( xAxis, uno::UNO_QUERY );
|
|
|
|
if( xNewAxisProp.is() )
|
|
|
|
{
|
|
|
|
xNewAxisProp->setPropertyValue( rtl::OUString::createFromAscii("LineStyle")
|
|
|
|
, uno::makeAny(drawing::LineStyle_NONE));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2000-09-18 16:07:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
void SchXMLAxisContext::SetAxisTitle()
|
|
|
|
{
|
|
|
|
// add new Axis to list
|
|
|
|
maAxes.push_back( maCurrentAxis );
|
|
|
|
|
|
|
|
// set axis at chart
|
|
|
|
sal_Bool bHasTitle = ( maCurrentAxis.aTitle.getLength() > 0 );
|
|
|
|
uno::Reference< frame::XModel > xDoc( mrImportHelper.GetChartDocument(), uno::UNO_QUERY );
|
|
|
|
|
|
|
|
switch( maCurrentAxis.eClass )
|
|
|
|
{
|
|
|
|
case SCH_XML_AXIS_X:
|
|
|
|
if( maCurrentAxis.nIndexInCategory == 0 )
|
|
|
|
{
|
|
|
|
uno::Reference< chart::XAxisXSupplier > xSuppl( mxDiagram, uno::UNO_QUERY );
|
|
|
|
if( xSuppl.is() &&
|
|
|
|
bHasTitle )
|
|
|
|
{
|
|
|
|
uno::Reference< beans::XPropertySet > xTitleProp( xSuppl->getXAxisTitle(), uno::UNO_QUERY );
|
|
|
|
if( xTitleProp.is())
|
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
|
|
|
uno::Any aAny;
|
|
|
|
aAny <<= maCurrentAxis.aTitle;
|
|
|
|
xTitleProp->setPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "String" )), aAny );
|
|
|
|
}
|
|
|
|
catch( beans::UnknownPropertyException & )
|
|
|
|
{
|
|
|
|
DBG_ERROR( "Property String for Title not available" );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
|
|
|
|
case SCH_XML_AXIS_Y:
|
|
|
|
if( maCurrentAxis.nIndexInCategory == 0 )
|
|
|
|
{
|
|
|
|
uno::Reference< chart::XAxisYSupplier > xSuppl( mxDiagram, uno::UNO_QUERY );
|
|
|
|
if( xSuppl.is() &&
|
|
|
|
bHasTitle )
|
|
|
|
{
|
|
|
|
uno::Reference< beans::XPropertySet > xTitleProp( xSuppl->getYAxisTitle(), uno::UNO_QUERY );
|
|
|
|
if( xTitleProp.is())
|
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
|
|
|
uno::Any aAny;
|
|
|
|
aAny <<= maCurrentAxis.aTitle;
|
|
|
|
xTitleProp->setPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "String" )), aAny );
|
|
|
|
}
|
|
|
|
catch( beans::UnknownPropertyException & )
|
|
|
|
{
|
|
|
|
DBG_ERROR( "Property String for Title not available" );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
|
|
|
|
case SCH_XML_AXIS_Z:
|
|
|
|
{
|
|
|
|
uno::Reference< chart::XAxisZSupplier > xSuppl( mxDiagram, uno::UNO_QUERY );
|
|
|
|
if( xSuppl.is() &&
|
|
|
|
bHasTitle )
|
|
|
|
{
|
|
|
|
uno::Reference< beans::XPropertySet > xTitleProp( xSuppl->getZAxisTitle(), uno::UNO_QUERY );
|
|
|
|
if( xTitleProp.is())
|
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
|
|
|
uno::Any aAny;
|
|
|
|
aAny <<= maCurrentAxis.aTitle;
|
|
|
|
xTitleProp->setPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "String" )), aAny );
|
|
|
|
}
|
|
|
|
catch( beans::UnknownPropertyException & )
|
|
|
|
{
|
|
|
|
DBG_ERROR( "Property String for Title not available" );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case SCH_XML_AXIS_UNDEF:
|
|
|
|
// nothing
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2000-09-18 16:07:07 +00:00
|
|
|
SvXMLImportContext* SchXMLAxisContext::CreateChildContext(
|
2006-06-19 17:01:57 +00:00
|
|
|
USHORT p_nPrefix,
|
2000-09-18 16:07:07 +00:00
|
|
|
const rtl::OUString& rLocalName,
|
|
|
|
const uno::Reference< xml::sax::XAttributeList >& xAttrList )
|
|
|
|
{
|
|
|
|
SvXMLImportContext* pContext = 0;
|
2004-07-13 07:03:32 +00:00
|
|
|
const SvXMLTokenMap& rTokenMap = mrImportHelper.GetAxisElemTokenMap();
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2006-06-19 17:01:57 +00:00
|
|
|
switch( rTokenMap.Get( p_nPrefix, rLocalName ))
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
2004-07-13 07:03:32 +00:00
|
|
|
case XML_TOK_AXIS_TITLE:
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
2000-11-27 16:37:52 +00:00
|
|
|
uno::Reference< drawing::XShape > xTitleShape = getTitleShape();
|
2004-07-13 07:03:32 +00:00
|
|
|
pContext = new SchXMLTitleContext( mrImportHelper, GetImport(), rLocalName,
|
2000-11-27 16:37:52 +00:00
|
|
|
maCurrentAxis.aTitle,
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
xTitleShape );
|
2000-09-18 16:07:07 +00:00
|
|
|
}
|
2004-07-13 07:03:32 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case XML_TOK_AXIS_CATEGORIES:
|
|
|
|
pContext = new SchXMLCategoriesDomainContext( mrImportHelper, GetImport(),
|
2006-06-19 17:01:57 +00:00
|
|
|
p_nPrefix, rLocalName,
|
2004-07-13 07:03:32 +00:00
|
|
|
mrCategoriesAddress );
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
maCurrentAxis.bHasCategories = true;
|
2004-07-13 07:03:32 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case XML_TOK_AXIS_GRID:
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
2000-11-29 12:57:56 +00:00
|
|
|
sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0;
|
|
|
|
sal_Bool bIsMajor = sal_True; // default value for class is "major"
|
|
|
|
rtl::OUString sAutoStyleName;
|
|
|
|
|
|
|
|
for( sal_Int16 i = 0; i < nAttrCount; i++ )
|
|
|
|
{
|
|
|
|
rtl::OUString sAttrName = xAttrList->getNameByIndex( i );
|
|
|
|
rtl::OUString aLocalName;
|
|
|
|
USHORT nPrefix = GetImport().GetNamespaceMap().GetKeyByAttrName( sAttrName, &aLocalName );
|
|
|
|
|
|
|
|
if( nPrefix == XML_NAMESPACE_CHART )
|
|
|
|
{
|
2001-06-29 20:07:26 +00:00
|
|
|
if( IsXMLToken( aLocalName, XML_CLASS ) )
|
2000-11-29 12:57:56 +00:00
|
|
|
{
|
2001-06-29 20:07:26 +00:00
|
|
|
if( IsXMLToken( xAttrList->getValueByIndex( i ), XML_MINOR ) )
|
2000-11-29 12:57:56 +00:00
|
|
|
bIsMajor = sal_False;
|
|
|
|
}
|
2001-06-29 20:07:26 +00:00
|
|
|
else if( IsXMLToken( aLocalName, XML_STYLE_NAME ) )
|
2000-11-29 12:57:56 +00:00
|
|
|
sAutoStyleName = xAttrList->getValueByIndex( i );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
CreateGrid( sAutoStyleName, bIsMajor );
|
|
|
|
|
|
|
|
// don't create a context => use default context. grid elements are empty
|
2006-06-19 17:01:57 +00:00
|
|
|
pContext = new SvXMLImportContext( GetImport(), p_nPrefix, rLocalName );
|
2000-09-18 16:07:07 +00:00
|
|
|
}
|
2004-07-13 07:03:32 +00:00
|
|
|
break;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
2004-07-13 07:03:32 +00:00
|
|
|
default:
|
2006-06-19 17:01:57 +00:00
|
|
|
pContext = new SvXMLImportContext( GetImport(), p_nPrefix, rLocalName );
|
2004-07-13 07:03:32 +00:00
|
|
|
break;
|
|
|
|
}
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
return pContext;
|
|
|
|
}
|
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
void SchXMLAxisContext::EndElement()
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
SetAxisTitle();
|
2000-09-18 16:07:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// ========================================
|
|
|
|
|
|
|
|
SchXMLDataPointContext::SchXMLDataPointContext( SchXMLImportHelper& rImpHelper,
|
|
|
|
SvXMLImport& rImport, const rtl::OUString& rLocalName,
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
::std::list< DataRowPointStyle >& rStyleList,
|
|
|
|
const ::com::sun::star::uno::Reference<
|
|
|
|
::com::sun::star::chart2::XDataSeries >& xSeries,
|
|
|
|
sal_Int32& rIndex ) :
|
2000-09-18 16:07:07 +00:00
|
|
|
SvXMLImportContext( rImport, XML_NAMESPACE_CHART, rLocalName ),
|
|
|
|
mrImportHelper( rImpHelper ),
|
2001-03-22 11:31:46 +00:00
|
|
|
mrStyleList( rStyleList ),
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
m_xSeries( xSeries ),
|
2000-09-18 16:07:07 +00:00
|
|
|
mrIndex( rIndex )
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
SchXMLDataPointContext::~SchXMLDataPointContext()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void SchXMLDataPointContext::StartElement( const uno::Reference< xml::sax::XAttributeList >& xAttrList )
|
|
|
|
{
|
|
|
|
sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0;
|
2001-03-22 11:31:46 +00:00
|
|
|
::rtl::OUString aValue;
|
|
|
|
::rtl::OUString sAutoStyleName;
|
|
|
|
sal_Int32 nRepeat = 1;
|
2000-09-18 16:07:07 +00:00
|
|
|
|
|
|
|
for( sal_Int16 i = 0; i < nAttrCount; i++ )
|
|
|
|
{
|
|
|
|
rtl::OUString sAttrName = xAttrList->getNameByIndex( i );
|
|
|
|
rtl::OUString aLocalName;
|
|
|
|
USHORT nPrefix = GetImport().GetNamespaceMap().GetKeyByAttrName( sAttrName, &aLocalName );
|
|
|
|
|
|
|
|
if( nPrefix == XML_NAMESPACE_CHART )
|
|
|
|
{
|
2001-06-29 20:07:26 +00:00
|
|
|
if( IsXMLToken( aLocalName, XML_STYLE_NAME ) )
|
2001-03-22 11:31:46 +00:00
|
|
|
sAutoStyleName = xAttrList->getValueByIndex( i );
|
2001-06-29 20:07:26 +00:00
|
|
|
else if( IsXMLToken( aLocalName, XML_REPEATED ) )
|
2001-03-22 11:31:46 +00:00
|
|
|
nRepeat = xAttrList->getValueByIndex( i ).toInt32();
|
2000-09-18 16:07:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2001-03-22 11:31:46 +00:00
|
|
|
if( sAutoStyleName.getLength())
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
DataRowPointStyle aStyle(
|
|
|
|
DataRowPointStyle::DATA_POINT,
|
|
|
|
m_xSeries, mrIndex, nRepeat, sAutoStyleName );
|
2001-03-22 11:31:46 +00:00
|
|
|
mrStyleList.push_back( aStyle );
|
2000-09-18 16:07:07 +00:00
|
|
|
}
|
2001-03-22 11:31:46 +00:00
|
|
|
mrIndex += nRepeat;
|
2000-09-18 16:07:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// ========================================
|
|
|
|
|
|
|
|
SchXMLCategoriesDomainContext::SchXMLCategoriesDomainContext(
|
|
|
|
SchXMLImportHelper& rImpHelper,
|
|
|
|
SvXMLImport& rImport,
|
|
|
|
sal_uInt16 nPrefix,
|
|
|
|
const rtl::OUString& rLocalName,
|
|
|
|
rtl::OUString& rAddress ) :
|
|
|
|
SvXMLImportContext( rImport, nPrefix, rLocalName ),
|
|
|
|
mrImportHelper( rImpHelper ),
|
|
|
|
mrAddress( rAddress )
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
SchXMLCategoriesDomainContext::~SchXMLCategoriesDomainContext()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void SchXMLCategoriesDomainContext::StartElement( const uno::Reference< xml::sax::XAttributeList >& xAttrList )
|
|
|
|
{
|
|
|
|
sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0;
|
|
|
|
|
|
|
|
for( sal_Int16 i = 0; i < nAttrCount; i++ )
|
|
|
|
{
|
|
|
|
rtl::OUString sAttrName = xAttrList->getNameByIndex( i );
|
|
|
|
rtl::OUString aLocalName;
|
|
|
|
USHORT nPrefix = GetImport().GetNamespaceMap().GetKeyByAttrName( sAttrName, &aLocalName );
|
|
|
|
|
|
|
|
if( nPrefix == XML_NAMESPACE_TABLE &&
|
2001-06-29 20:07:26 +00:00
|
|
|
IsXMLToken( aLocalName, XML_CELL_RANGE_ADDRESS ) )
|
2000-09-18 16:07:07 +00:00
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
uno::Reference< chart2::XChartDocument > xNewDoc( GetImport().GetModel(), uno::UNO_QUERY );
|
|
|
|
mrAddress = lcl_ConvertRange( xAttrList->getValueByIndex( i ), xNewDoc );
|
2000-09-18 16:07:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2001-01-15 07:58:30 +00:00
|
|
|
// ========================================
|
|
|
|
|
|
|
|
SchXMLWallFloorContext::SchXMLWallFloorContext(
|
|
|
|
SchXMLImportHelper& rImpHelper,
|
|
|
|
SvXMLImport& rImport,
|
|
|
|
sal_uInt16 nPrefix,
|
|
|
|
const rtl::OUString& rLocalName,
|
|
|
|
uno::Reference< chart::XDiagram >& xDiagram,
|
|
|
|
ContextType eContextType ) :
|
|
|
|
SvXMLImportContext( rImport, nPrefix, rLocalName ),
|
|
|
|
mrImportHelper( rImpHelper ),
|
|
|
|
mxWallFloorSupplier( xDiagram, uno::UNO_QUERY ),
|
|
|
|
meContextType( eContextType )
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
SchXMLWallFloorContext::~SchXMLWallFloorContext()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void SchXMLWallFloorContext::StartElement( const uno::Reference< xml::sax::XAttributeList >& xAttrList )
|
|
|
|
{
|
|
|
|
if( mxWallFloorSupplier.is())
|
|
|
|
{
|
|
|
|
sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0;
|
|
|
|
rtl::OUString sAutoStyleName;
|
|
|
|
|
|
|
|
for( sal_Int16 i = 0; i < nAttrCount; i++ )
|
|
|
|
{
|
|
|
|
rtl::OUString sAttrName = xAttrList->getNameByIndex( i );
|
|
|
|
rtl::OUString aLocalName;
|
|
|
|
USHORT nPrefix = GetImport().GetNamespaceMap().GetKeyByAttrName( sAttrName, &aLocalName );
|
|
|
|
|
|
|
|
if( nPrefix == XML_NAMESPACE_CHART &&
|
2001-06-29 20:07:26 +00:00
|
|
|
IsXMLToken( aLocalName, XML_STYLE_NAME ) )
|
2001-01-15 07:58:30 +00:00
|
|
|
{
|
|
|
|
sAutoStyleName = xAttrList->getValueByIndex( i );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
// set properties
|
|
|
|
uno::Reference< beans::XPropertySet > xProp( ( meContextType == CONTEXT_TYPE_WALL )
|
|
|
|
? mxWallFloorSupplier->getWall()
|
|
|
|
: mxWallFloorSupplier->getFloor(),
|
|
|
|
uno::UNO_QUERY );
|
|
|
|
if( xProp.is())
|
2001-01-15 07:58:30 +00:00
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
if( sAutoStyleName.getLength())
|
2001-01-15 07:58:30 +00:00
|
|
|
{
|
|
|
|
const SvXMLStylesContext* pStylesCtxt = mrImportHelper.GetAutoStylesContext();
|
|
|
|
if( pStylesCtxt )
|
|
|
|
{
|
|
|
|
const SvXMLStyleContext* pStyle = pStylesCtxt->FindStyleChildContext(
|
|
|
|
mrImportHelper.GetChartFamilyID(), sAutoStyleName );
|
|
|
|
|
|
|
|
if( pStyle && pStyle->ISA( XMLPropStyleContext ))
|
|
|
|
(( XMLPropStyleContext* )pStyle )->FillPropertySet( xProp );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2001-12-17 09:22:11 +00:00
|
|
|
|
|
|
|
// ========================================
|
|
|
|
|
|
|
|
SchXMLStockContext::SchXMLStockContext(
|
|
|
|
SchXMLImportHelper& rImpHelper,
|
|
|
|
SvXMLImport& rImport,
|
|
|
|
sal_uInt16 nPrefix,
|
|
|
|
const rtl::OUString& rLocalName,
|
|
|
|
uno::Reference< chart::XDiagram >& xDiagram,
|
|
|
|
ContextType eContextType ) :
|
|
|
|
SvXMLImportContext( rImport, nPrefix, rLocalName ),
|
|
|
|
mrImportHelper( rImpHelper ),
|
|
|
|
mxStockPropProvider( xDiagram, uno::UNO_QUERY ),
|
|
|
|
meContextType( eContextType )
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
SchXMLStockContext::~SchXMLStockContext()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void SchXMLStockContext::StartElement( const uno::Reference< xml::sax::XAttributeList >& xAttrList )
|
|
|
|
{
|
|
|
|
if( mxStockPropProvider.is())
|
|
|
|
{
|
|
|
|
sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0;
|
|
|
|
rtl::OUString sAutoStyleName;
|
|
|
|
|
|
|
|
for( sal_Int16 i = 0; i < nAttrCount; i++ )
|
|
|
|
{
|
|
|
|
rtl::OUString sAttrName = xAttrList->getNameByIndex( i );
|
|
|
|
rtl::OUString aLocalName;
|
|
|
|
USHORT nPrefix = GetImport().GetNamespaceMap().GetKeyByAttrName( sAttrName, &aLocalName );
|
|
|
|
|
|
|
|
if( nPrefix == XML_NAMESPACE_CHART &&
|
|
|
|
IsXMLToken( aLocalName, XML_STYLE_NAME ) )
|
|
|
|
{
|
|
|
|
sAutoStyleName = xAttrList->getValueByIndex( i );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if( sAutoStyleName.getLength())
|
|
|
|
{
|
|
|
|
// set properties
|
|
|
|
uno::Reference< beans::XPropertySet > xProp;
|
|
|
|
switch( meContextType )
|
|
|
|
{
|
|
|
|
case CONTEXT_TYPE_GAIN:
|
|
|
|
xProp = mxStockPropProvider->getUpBar();
|
|
|
|
break;
|
|
|
|
case CONTEXT_TYPE_LOSS:
|
|
|
|
xProp = mxStockPropProvider->getDownBar();
|
|
|
|
break;
|
|
|
|
case CONTEXT_TYPE_RANGE:
|
|
|
|
xProp = mxStockPropProvider->getMinMaxLine();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
if( xProp.is())
|
|
|
|
{
|
|
|
|
const SvXMLStylesContext* pStylesCtxt = mrImportHelper.GetAutoStylesContext();
|
|
|
|
if( pStylesCtxt )
|
|
|
|
{
|
|
|
|
const SvXMLStyleContext* pStyle = pStylesCtxt->FindStyleChildContext(
|
|
|
|
mrImportHelper.GetChartFamilyID(), sAutoStyleName );
|
|
|
|
|
|
|
|
if( pStyle && pStyle->ISA( XMLPropStyleContext ))
|
|
|
|
(( XMLPropStyleContext* )pStyle )->FillPropertySet( xProp );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2002-05-06 06:24:33 +00:00
|
|
|
|
|
|
|
// ========================================
|
|
|
|
|
|
|
|
SchXMLStatisticsObjectContext::SchXMLStatisticsObjectContext(
|
|
|
|
|
|
|
|
SchXMLImportHelper& rImpHelper,
|
|
|
|
SvXMLImport& rImport,
|
|
|
|
sal_uInt16 nPrefix,
|
|
|
|
const rtl::OUString& rLocalName,
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
::std::list< DataRowPointStyle >& rStyleList,
|
|
|
|
const ::com::sun::star::uno::Reference<
|
|
|
|
::com::sun::star::chart2::XDataSeries >& xSeries,
|
|
|
|
ContextType eContextType ) :
|
2002-05-06 06:24:33 +00:00
|
|
|
|
|
|
|
SvXMLImportContext( rImport, nPrefix, rLocalName ),
|
|
|
|
mrImportHelper( rImpHelper ),
|
|
|
|
mrStyleList( rStyleList ),
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
m_xSeries( xSeries ),
|
2002-05-06 06:24:33 +00:00
|
|
|
meContextType( eContextType )
|
|
|
|
{}
|
|
|
|
|
|
|
|
SchXMLStatisticsObjectContext::~SchXMLStatisticsObjectContext()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void SchXMLStatisticsObjectContext::StartElement( const uno::Reference< xml::sax::XAttributeList >& xAttrList )
|
|
|
|
{
|
|
|
|
sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0;
|
|
|
|
::rtl::OUString aValue;
|
|
|
|
::rtl::OUString sAutoStyleName;
|
|
|
|
|
|
|
|
for( sal_Int16 i = 0; i < nAttrCount; i++ )
|
|
|
|
{
|
|
|
|
rtl::OUString sAttrName = xAttrList->getNameByIndex( i );
|
|
|
|
rtl::OUString aLocalName;
|
|
|
|
USHORT nPrefix = GetImport().GetNamespaceMap().GetKeyByAttrName( sAttrName, &aLocalName );
|
|
|
|
|
|
|
|
if( nPrefix == XML_NAMESPACE_CHART )
|
|
|
|
{
|
|
|
|
if( IsXMLToken( aLocalName, XML_STYLE_NAME ) )
|
|
|
|
sAutoStyleName = xAttrList->getValueByIndex( i );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if( sAutoStyleName.getLength())
|
|
|
|
{
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
DataRowPointStyle::StyleType eType = DataRowPointStyle::MEAN_VALUE;
|
2002-05-06 06:24:33 +00:00
|
|
|
switch( meContextType )
|
|
|
|
{
|
|
|
|
case CONTEXT_TYPE_MEAN_VALUE_LINE:
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
eType = DataRowPointStyle::MEAN_VALUE;
|
2002-05-06 06:24:33 +00:00
|
|
|
break;
|
|
|
|
case CONTEXT_TYPE_REGRESSION_CURVE:
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
eType = DataRowPointStyle::REGRESSION;
|
2002-05-06 06:24:33 +00:00
|
|
|
break;
|
|
|
|
case CONTEXT_TYPE_ERROR_INDICATOR:
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
eType = DataRowPointStyle::ERROR_INDICATOR;
|
2002-05-06 06:24:33 +00:00
|
|
|
break;
|
|
|
|
}
|
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED
2007/04/19 09:51:09 bm 1.29.28.63: #i75530# import explicit chart types at data series in correct order
2007/01/29 14:20:30 bm 1.29.28.62: do not need table-number-list on import
2007/01/19 18:03:22 iha 1.29.28.61: remove unneccessary dependency on special build id - detection for existence is sufficient here
2006/12/12 19:03:06 bm 1.29.28.60: switch to internal data provider as early as possible. This is determined by the complete range string in the plot-area
2006/12/12 16:55:11 bm 1.29.28.59: own data with no categories element: apply categories in applyTable()
2006/12/06 18:50:46 bm 1.29.28.58: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress
2006/12/01 11:48:58 bm 1.29.28.57: include for tools-string added when DBG_UTIL is set
2006/11/30 15:37:13 iha 1.29.28.56: #59288# correct save and load of axis scale values for percent stacked charts
2006/11/25 21:59:36 bm 1.29.28.55: basegfx::B3DVector method changes
2006/11/24 21:25:22 bm 1.29.28.54: RESYNC: (1.36-1.37); FILE MERGED
2006/11/14 19:25:37 iha 1.29.28.53: #i71330# xy 'symbols only' get lines when loading older versions
2006/10/25 15:53:13 iha 1.29.28.52: invisible line for x axis of net charts when importing from old files
2006/10/20 09:50:40 bm 1.29.28.51: warnings removed
2006/10/19 16:21:36 bm 1.29.28.50: warnings removed
2006/10/19 09:59:39 bm 1.29.28.49: RESYNC: (1.34-1.36); FILE MERGED
2006/10/10 15:11:52 iha 1.29.28.48: loaded 3D lines aren't stacked deep
2006/10/09 13:26:07 iha 1.29.28.47: default scale for added x axis for net charts
2006/09/20 15:57:27 bm 1.29.28.46: #i69680# Wall and floor have no defaults. They are always exported in the old and the new chart. (The wall defaults in the old chart were chart type dependent). So set no hard attribute for wall here, as it will be overwritten.
2006/08/16 14:54:24 iha 1.29.28.45: #124495# categories for net chart are not displayed when loading old files
2006/08/02 12:56:03 iha 1.29.28.44: removed unused DomainOffset
2006/06/09 16:31:13 iha 1.29.28.43: worked around wrong camera default in old chart for compatibility
2006/05/18 11:53:32 bm 1.29.28.42: #i65524# floor as default fill style of SOLID. Apply defaults also when there is no auto-style
2006/05/18 11:45:08 bm 1.29.28.41: set grid-lines to black as default, because that is the default in the old API, and therefore in old (as well as new) files
2006/05/02 14:38:30 bm 1.29.28.40: #125497# set the fill-style to NONE, as this is the default in the filter, but isn't in the model
2006/04/22 10:55:54 iha 1.29.28.39: park unused categories in scale with AxisType not being CATEGORY
2006/04/10 12:37:45 iha 1.29.28.38: api restructure axis, grids, scales and increments
2005/12/21 21:34:23 iha 1.29.28.37: remove identifiers from model objects and create an index based CID protocol instead for selection purposes
2005/11/28 15:20:32 bm 1.29.28.36: implemented StackedBarsConnected property at Diagram
2005/11/08 17:48:12 bm 1.29.28.35: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation
2005/11/01 12:53:25 iha 1.29.28.34: proper use of default domain (first x sequence) for load and save of scatter charts
2005/10/29 20:51:55 iha 1.29.28.33: coordinate system restructure
2005/10/24 10:46:34 iha 1.29.28.32: coordinate system restructure
2005/10/13 17:37:23 iha 1.29.28.31: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/09 08:06:49 bm 1.29.28.30: RESYNC: (1.33-1.34); FILE MERGED
2005/09/16 16:20:47 iha 1.29.28.29: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view
2005/08/30 16:47:38 iha 1.29.28.28: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files
2005/08/30 16:16:56 bm 1.29.28.27: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier
2005/08/19 16:10:23 bm 1.29.28.26: chart2::XChartDocument: getDiagram -> getFirstDiagram
2005/07/25 13:42:50 bm 1.29.28.25: RESYNC: (1.32-1.33); FILE MERGED
2005/07/22 11:01:23 bm 1.29.28.24: #124488# workaround for 3d area deep charts that have Deep==false in files saved with older versions
2005/07/19 17:01:24 bm 1.29.28.23: order of methods changed: 1. StartElement, 2. CreateChildContext, 3. EndElement to ease browsing
2005/07/19 09:30:51 iha 1.29.28.22: create axis before axis title to load axis title
2005/07/18 16:11:15 bm 1.29.28.21: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type
2005/07/15 21:00:16 iha 1.29.28.20: change from series index to series identifier
2005/07/14 08:42:18 bm 1.29.28.19: enable grid before applying grid properties
2005/07/06 11:10:06 bm 1.29.28.18: convert chart range from XML to data provider format
2005/07/06 09:22:10 bm 1.29.28.17: range conversion in import is FromXML
2005/07/06 09:19:43 bm 1.29.28.16: XML conversion was done twice for categories
2005/07/06 09:17:18 bm 1.29.28.15: use XML range conversion of data provider
2005/07/04 16:01:10 bm 1.29.28.14: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants. Set categories before properties that use template detection
2005/07/01 16:18:52 bm 1.29.28.13: remove empty chart type groups
2005/06/30 14:24:11 bm 1.29.28.12: import of stacking mode fixed (old deprecated method removed)
2005/06/24 09:07:29 bm 1.29.28.11: stock chart
2005/06/23 14:44:50 iha 1.29.28.10: correct support for statistic properties
2005/06/22 08:18:47 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly
2005/06/21 15:19:42 iha 1.29.28.8: set series and point properties after data is available
2005/06/21 12:55:44 iha 1.29.28.7: set correct symbol type defaults to series
2005/06/17 17:03:43 bm 1.29.28.6: using new API for im-/export of data
2005/04/19 17:52:59 iha 1.29.28.5: remove unsued property listener for Stacked and Percent
2005/03/17 11:21:34 bm 1.29.28.4: RESYNC: (1.31-1.32); FILE MERGED
2004/09/20 17:23:02 bm 1.29.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at
2004/08/30 17:12:52 bm 1.29.28.2: RESYNC: (1.29-1.31); FILE MERGED
2004/08/25 16:05:59 iha 1.29.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:39 +00:00
|
|
|
DataRowPointStyle aStyle(
|
|
|
|
eType, m_xSeries, -1, 1, sAutoStyleName );
|
2002-05-06 06:24:33 +00:00
|
|
|
mrStyleList.push_back( aStyle );
|
|
|
|
}
|
|
|
|
}
|