[Libreoffice-bugs] [Bug 111786] PPTX export: Shape's line transparency is not exported

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 8 01:30:09 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=111786

--- Comment #6 from Tamás Zolnai <zolnaitamas2000 at gmail.com> ---
Some more code pointers:
PPTX export code uses UNO API to get properties from the document modell. Line
API properties are defined here:
offapi/com/sun/star/drawing/LineProperties.idl
These properties are get by GetProperty() calls. This GetProperty() method sets
the property to the mAny variable from which you can convert the actual value
to the right type (see other parts of the drawingml.cxx file how it works). So
with this GetProperty() you can get the actualy line trasparency for the
current object.
About how to export the transparency value you should check WriteSolidFill()
method which is called from WriteOutline() method. It has an nAlpha paramter
which is a kind of transparency value.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171208/689a7f5c/attachment.html>


More information about the Libreoffice-bugs mailing list