summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/chart
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-07-01 11:07:21 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-07-01 11:07:21 +0000
commitbd6edd353d293ef3dce203a63b17ed0cd6517b1f (patch)
treec5643f0c8675d540fc503a44f44e3948f804ab33 /oox/source/drawingml/chart
parentcca98acbab04373fb7500be83bfce4cf484511ab (diff)
INTEGRATION: CWS xmlfilter05 (1.1.4); FILE MERGED
2008/05/21 12:31:56 dr 1.1.4.6: #i10000# new header 2008/04/23 16:00:21 dr 1.1.4.5: chart auto formatting, first steps... 2008/04/18 12:34:43 dr 1.1.4.4: import stock charts, improved default attribute handling 2008/04/02 12:41:57 hbrinkm 1.1.4.3: merged changes from xmlfilter04 to xmlfilter05 2008/04/01 15:38:13 hbrinkm 1.1.4.2: 'Merged xmlfilter04' 2008/03/12 14:22:30 hbrinkm 1.1.4.1: file chartspacefragment.cxx was added on branch cws_dev300_xmlfilter05 on 2008-04-01 15:38:13 +0000
Diffstat (limited to 'oox/source/drawingml/chart')
-rw-r--r--oox/source/drawingml/chart/chartspacefragment.cxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/oox/source/drawingml/chart/chartspacefragment.cxx b/oox/source/drawingml/chart/chartspacefragment.cxx
index 98b4b34f32ee..0e7723fe5ef6 100644
--- a/oox/source/drawingml/chart/chartspacefragment.cxx
+++ b/oox/source/drawingml/chart/chartspacefragment.cxx
@@ -8,7 +8,7 @@
*
* $RCSfile: chartspacefragment.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
* This file is part of OpenOffice.org.
*
@@ -70,7 +70,7 @@ ContextWrapper ChartSpaceFragment::onCreateContext( sal_Int32 nElement, const At
case C_TOKEN( spPr ):
return new ShapePropertiesContext( *this, mrModel.mxShapeProp.create() );
case C_TOKEN( style ):
- mrModel.mnStyle = rAttribs.getInteger( XML_val, -1 );
+ mrModel.mnStyle = rAttribs.getInteger( XML_val, 2 );
return false;
case C_TOKEN( txPr ):
return new TextBodyContext( *this, mrModel.mxTextProp.create() );
@@ -81,7 +81,8 @@ ContextWrapper ChartSpaceFragment::onCreateContext( sal_Int32 nElement, const At
switch( nElement )
{
case C_TOKEN( autoTitleDeleted ):
- mrModel.mbAutoTitleDel = rAttribs.getBool( XML_val, true );
+ // default is 'false', not 'true' as specified
+ mrModel.mbAutoTitleDel = rAttribs.getBool( XML_val, false );
return false;
case C_TOKEN( dispBlanksAs ):
mrModel.mnDispBlanksAs = rAttribs.getToken( XML_val, XML_zero );
@@ -91,10 +92,12 @@ ContextWrapper ChartSpaceFragment::onCreateContext( sal_Int32 nElement, const At
case C_TOKEN( plotArea ):
return new PlotAreaContext( *this, mrModel.mxPlotArea.create() );
case C_TOKEN( plotVisOnly ):
- mrModel.mbPlotVisOnly = rAttribs.getBool( XML_val, true );
+ // default is 'false', not 'true' as specified
+ mrModel.mbPlotVisOnly = rAttribs.getBool( XML_val, false );
return false;
case C_TOKEN( showDLblsOverMax ):
- mrModel.mbShowLabelsOverMax = rAttribs.getBool( XML_val, true );
+ // default is 'false', not 'true' as specified
+ mrModel.mbShowLabelsOverMax = rAttribs.getBool( XML_val, false );
return false;
case C_TOKEN( title ):
return new TitleContext( *this, mrModel.mxTitle.create() );