diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-03-06 14:44:15 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-03-06 14:44:15 +0000 |
commit | 71427d392223a69202616a782e3e8d01aa0f302f (patch) | |
tree | d017819f7a97dd8de3bdf0cb5601715a99569d6d /xmloff/source/chart/SchXMLChartContext.cxx | |
parent | 464ac430756ae8727fc9c78965ae90cd53232ee5 (diff) |
INTEGRATION: CWS chart20_DEV300 (1.39.74); FILE MERGED
2008/02/21 15:59:48 bm 1.39.74.1: #i366# error bars from cell ranges
Diffstat (limited to 'xmloff/source/chart/SchXMLChartContext.cxx')
-rw-r--r-- | xmloff/source/chart/SchXMLChartContext.cxx | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/xmloff/source/chart/SchXMLChartContext.cxx b/xmloff/source/chart/SchXMLChartContext.cxx index 587dcb25992b..ea7a838cfb7d 100644 --- a/xmloff/source/chart/SchXMLChartContext.cxx +++ b/xmloff/source/chart/SchXMLChartContext.cxx @@ -4,9 +4,9 @@ * * $RCSfile: SchXMLChartContext.cxx,v $ * - * $Revision: 1.39 $ + * $Revision: 1.40 $ * - * last change: $Author: ihi $ $Date: 2007-11-23 11:35:19 $ + * last change: $Author: kz $ $Date: 2008-03-06 15:44:15 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -838,6 +838,7 @@ void SchXMLChartContext::EndElement() if( mbHasOwnTable ) msChartAddress = ::rtl::OUString::createFromAscii("all"); + bool bPostProcessTable = false; if( !mbHasOwnTable && mbAllRangeAddressesAvailable ) { // special handling for stock chart (merge series together) @@ -851,7 +852,8 @@ void SchXMLChartContext::EndElement() // note: mbRowHasLabels means the first row contains labels, that // means we have "column-descriptions", (analogously mbColHasLabels // means we have "row-descriptions") - SchXMLTableHelper::applyTable( maTable, maLSequencesPerIndex, xNewDoc ); //, meDataRowSource ); + SchXMLTableHelper::applyTable( maTable, xNewDoc ); + bPostProcessTable = true; } else { @@ -939,7 +941,7 @@ void SchXMLChartContext::EndElement() if( !bSpecialHandlingForDonutChart ) { SchXMLSeries2Context::setStylesToSeries( maSeriesDefaultsAndStyles - , pStylesCtxt, pStyle, sCurrStyleName, mrImportHelper, GetImport(), mbIsStockChart ); + , pStylesCtxt, pStyle, sCurrStyleName, mrImportHelper, GetImport(), mbIsStockChart, maLSequencesPerIndex ); // ... then set attributes for statistics (after their existence was set in the series) SchXMLSeries2Context::setStylesToStatisticsObjects( maSeriesDefaultsAndStyles , pStylesCtxt, pStyle, sCurrStyleName ); @@ -951,6 +953,9 @@ void SchXMLChartContext::EndElement() } } + if( bPostProcessTable ) + SchXMLTableHelper::postProcessTable( maTable, maLSequencesPerIndex, xNewDoc, meDataRowSource ); + if( xProp.is()) xProp->setPropertyValue( rtl::OUString::createFromAscii( "RefreshAddInAllowed" ) , uno::makeAny( sal_True) ); } |