summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/chartsheetfragment.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/oox/chartsheetfragment.cxx')
-rw-r--r--sc/source/filter/oox/chartsheetfragment.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/sc/source/filter/oox/chartsheetfragment.cxx b/sc/source/filter/oox/chartsheetfragment.cxx
index 313024eefe6a..cca6a3ac39d6 100644
--- a/sc/source/filter/oox/chartsheetfragment.cxx
+++ b/sc/source/filter/oox/chartsheetfragment.cxx
@@ -51,7 +51,7 @@ ContextHandlerRef ChartsheetFragment::onCreateContext( sal_Int32 nElement, const
{
case XLS_TOKEN( sheetViews ): return this;
- case XLS_TOKEN( sheetPr ): getWorksheetSettings().importChartSheetPr( rAttribs ); break;
+ case XLS_TOKEN( sheetPr ): getWorksheetSettings().importChartSheetPr( rAttribs ); return this;
case XLS_TOKEN( sheetProtection ): getWorksheetSettings().importChartProtection( rAttribs ); break;
case XLS_TOKEN( pageMargins ): getPageSettings().importPageMargins( rAttribs ); break;
case XLS_TOKEN( pageSetup ): getPageSettings().importChartPageSetup( getRelations(), rAttribs ); break;
@@ -76,6 +76,14 @@ ContextHandlerRef ChartsheetFragment::onCreateContext( sal_Int32 nElement, const
case XLS_TOKEN( evenFooter ): return this; // collect contents in onCharacters()
}
break;
+
+ case XLS_TOKEN( sheetPr ):
+ switch( nElement )
+ {
+ case XLS_TOKEN( tabColor ): getWorksheetSettings().importTabColor( rAttribs ); break;
+ }
+ break;
+
}
return nullptr;
}