Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


Hi Miklos,

Miklos Vajna schrieb am 21-Oct-19 um 09:21:
Hi Regina,

On Sun, Oct 20, 2019 at 04:53:09PM +0200, Regina Henschel <rb.henschel@t-online.de> wrote:
To get a gradient form "FillTransparenceGradientName", I have found
"com.sun.star.drawing.TransparencyGradientTable". To use it, I need a model.
That is available in class ChartExport, but not in the base class DrawingML.
Is there a way to get the gradient itself from its name in
DrawingML::WriteGradientFill()?

The oox::drawingml::DrawingML ctor gets a oox::core::XmlFilterBase.
That already has a member to refer to the target document, see
FilterBase::setTargetDocument() in oox/source/core/filterbase.cxx:451.
Does that help?

The target document is not relevant here, I need information from the source document. But the tip to look at FilterBase helps indeed. FilterBase has a getModelFactory() and a getModel().

Solving the problem in DrawingML instead of ChartExport would be better, because ordinary shapes have the problem too, that the transparency gradient is not exported in case of solid color fill.

Kind regards
Regina

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.