Commit e652e2b6 authored by Lukáš Tvrdý's avatar Lukáš Tvrdý
Browse files

Fix the size of the ellipse

Use draw:ellipse tag instead of enhanced geometry
as there is probably some bug in engine when
interpreting enhanced geometry

CCBUG:239458
parent 3538c9c4
......@@ -242,6 +242,14 @@ void ODrawToOdf::processRightTriangle(const MSO::OfficeArtSpContainer& o, Writer
}
void ODrawToOdf::processEllipse(const MSO::OfficeArtSpContainer& o, Writer& out)
{
out.xml.startElement("draw:ellipse");
processStyleAndText(o, out);
out.xml.endElement(); // draw:ellipse
}
/*
void ODrawToOdf::processEllipse(const MSO::OfficeArtSpContainer& o, Writer& out) {
out.xml.startElement("draw:custom-shape");
processStyleAndText(o, out);
......@@ -256,7 +264,7 @@ void ODrawToOdf::processEllipse(const MSO::OfficeArtSpContainer& o, Writer& out)
out.xml.endElement(); // enhanced geometry
out.xml.endElement(); // custom shape
}
*/
void ODrawToOdf::processHexagon(const MSO::OfficeArtSpContainer& o, Writer& out) {
out.xml.startElement("draw:custom-shape");
......
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