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

respect element order in OOXML chart export, fdo#59857

The chart part of the document passes validation now.

Change-Id: I52c946c0ad399038e5f9ffff08a117f2693c55b5
üst 3ed3d392
...@@ -918,9 +918,6 @@ void ChartExport::exportTitle( Reference< XShape > xShape ) ...@@ -918,9 +918,6 @@ void ChartExport::exportTitle( Reference< XShape > xShape )
FSHelperPtr pFS = GetFS(); FSHelperPtr pFS = GetFS();
pFS->startElement( FSNS( XML_c, XML_title ), pFS->startElement( FSNS( XML_c, XML_title ),
FSEND ); FSEND );
// TODO:customize layout
pFS->singleElement( FSNS( XML_c, XML_layout ),
FSEND );
pFS->startElement( FSNS( XML_c, XML_tx ), pFS->startElement( FSNS( XML_c, XML_tx ),
FSEND ); FSEND );
...@@ -963,6 +960,11 @@ void ChartExport::exportTitle( Reference< XShape > xShape ) ...@@ -963,6 +960,11 @@ void ChartExport::exportTitle( Reference< XShape > xShape )
pFS->endElement( FSNS( XML_c, XML_rich ) ); pFS->endElement( FSNS( XML_c, XML_rich ) );
pFS->endElement( FSNS( XML_c, XML_tx ) ); pFS->endElement( FSNS( XML_c, XML_tx ) );
// TODO:customize layout
pFS->singleElement( FSNS( XML_c, XML_layout ),
FSEND );
pFS->endElement( FSNS( XML_c, XML_title ) ); pFS->endElement( FSNS( XML_c, XML_title ) );
} }
......
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