Why is PolyPolygonShape excluded from DML export?
Regina Henschel
rb.henschel at t-online.de
Mon Jul 19 22:08:30 UTC 2021
Hi all,
this is about export ODF shape -> OOXML.
bool DocxSdrExport::Impl::isSupportedDMLShape(const
uno::Reference<drawing::XShape>& xShape)
{
uno::Reference<lang::XServiceInfo> xServiceInfo(xShape,
uno::UNO_QUERY_THROW);
if
(xServiceInfo->supportsService("com.sun.star.drawing.PolyPolygonShape")
||
xServiceInfo->supportsService("com.sun.star.drawing.PolyLineShape"))
return false;
excludes SdrPathObj objects from DML export, in case they have no
control points. I see no reason, why a simple polygon is excluded, but a
bezier curve is allowed.
Effect is, that it is only exported as VML and so looses e.g. line
transparency.
Is it possible, that the exclusion was only forgotten to remove, or is
there a valid reason?
Kind regards
Regina
More information about the LibreOffice
mailing list