Kaydet (Commit) 16010abe authored tarafından Markus Mohrhard's avatar Markus Mohrhard

respect element order in OOXML chart export, related fdo#59857

Change-Id: Icd40ad5a1a428d6ae0d012b1896a9dd713a4e79b
üst e415e070
......@@ -2734,6 +2734,16 @@ void ChartExport::exportView3D()
XML_val, I32S( nRotationY ),
FSEND );
}
// rAngAx
if( GetProperty( xPropSet, "RightAngledAxes" ) )
{
sal_Bool bRightAngled = sal_False;
mAny >>= bRightAngled;
const char* sRightAngled = bRightAngled ? "1":"0";
pFS->singleElement( FSNS( XML_c, XML_rAngAx ),
XML_val, sRightAngled,
FSEND );
}
// perspective
if( GetProperty( xPropSet, "Perspective" ) )
{
......@@ -2745,16 +2755,6 @@ void ChartExport::exportView3D()
XML_val, I32S( nPerspective ),
FSEND );
}
// rAngAx
if( GetProperty( xPropSet, "RightAngledAxes" ) )
{
sal_Bool bRightAngled = sal_False;
mAny >>= bRightAngled;
const char* sRightAngled = bRightAngled ? "1":"0";
pFS->singleElement( FSNS( XML_c, XML_rAngAx ),
XML_val, sRightAngled,
FSEND );
}
pFS->endElement( FSNS( XML_c, XML_view3D ) );
}
......
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