Kaydet (Commit) 5b8e92d8 authored tarafından Björn Milcke's avatar Björn Milcke

#85911# don't filter SymbolType: export always if PropertyState is DIRECT (as usual)

üst 7a194a27
......@@ -2,9 +2,9 @@
*
* $RCSfile: PropertyMap.hxx,v $
*
* $Revision: 1.6 $
* $Revision: 1.7 $
*
* last change: $Author: bm $ $Date: 2001-05-11 18:33:24 $
* last change: $Author: bm $ $Date: 2001-05-29 12:44:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -158,7 +158,7 @@ const XMLPropertyMapEntry aXMLChartPropMap[] =
MAP_ENTRY( "SolidType", CHART, solid_type, XML_SCH_TYPE_SOLID_TYPE ),
MAP_ENTRY( "SplineType", CHART, splines, XML_TYPE_NUMBER ),
MAP_ENTRY( "Stacked", CHART, stacked, XML_TYPE_BOOL ),
MAP_CONTEXT( "SymbolType", CHART, symbol, XML_TYPE_NUMBER, USER_SYMBOL ),
MAP_ENTRY( "SymbolType", CHART, symbol, XML_TYPE_NUMBER ),
MAP_SPECIAL( "SymbolSize", CHART, symbol_width, XML_TYPE_MEASURE | MID_FLAG_MERGE_PROPERTY, SYMBOL_WIDTH ),
MAP_SPECIAL( "SymbolSize", CHART, symbol_height, XML_TYPE_MEASURE | MID_FLAG_MERGE_PROPERTY, SYMBOL_HEIGHT ),
MAP_SPECIAL( "SymbolBitmapURL", CHART, symbol_image_name, XML_TYPE_STRING, SYMBOL_IMAGE_NAME ),
......
......@@ -2,9 +2,9 @@
*
* $RCSfile: PropertyMaps.cxx,v $
*
* $Revision: 1.22 $
* $Revision: 1.23 $
*
* last change: $Author: bm $ $Date: 2001-05-17 13:24:32 $
* last change: $Author: bm $ $Date: 2001-05-29 12:44:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -235,15 +235,6 @@ void XMLChartExportPropertyMapper::ContextFilter(
// to prevent writing this property set mnIndex member to -1
switch( getPropertySetMapper()->GetEntryContextId( property->mnIndex ))
{
case XML_SCH_CONTEXT_USER_SYMBOL:
{
sal_Int32 nIndex = chart::ChartSymbolType::NONE;
property->maValue >>= nIndex;
if( nIndex == chart::ChartSymbolType::NONE )
property->mnIndex = -1;
}
break;
// if Auto... is set the corresponding properties mustn't be exported
case XML_SCH_CONTEXT_MIN:
bCheckAuto = sal_True;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment