From acfd9e9ca2dfd76536c072e21c65cb3efc6aac80 Mon Sep 17 00:00:00 2001 From: Regina Henschel Date: Mon, 27 Jul 2020 00:31:04 +0200 Subject: tdf#128345 PPTX: add transparence gradient for fill in chart Export cases: Add transparence gradient on solid color fill by treating the color fill as gradient with identical start and end color. Add solid transparence on color gradient, by treating transparence as gradient. Import: Add missing property PROP_FillTransparenceGradientName to spnCommonPropIds so that it is available in spObjTypeFormatEntries. Otherwise transparence gradients will be skipped on import. Change-Id: I56218ec1afcc5bd1ce0324ca50c03e0b44f76c58 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99464 Tested-by: Jenkins Reviewed-by: Regina Henschel --- include/oox/export/chartexport.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/oox/export/chartexport.hxx b/include/oox/export/chartexport.hxx index 194e15628aef..5faaf42cb1d1 100644 --- a/include/oox/export/chartexport.hxx +++ b/include/oox/export/chartexport.hxx @@ -141,6 +141,7 @@ private: void exportPlotArea( const css::uno::Reference< css::chart::XChartDocument >& rChartDoc ); void exportFill( const css::uno::Reference< css::beans::XPropertySet >& xPropSet ); + void exportSolidFill(const css::uno::Reference& xPropSet); void exportGradientFill( const css::uno::Reference< css::beans::XPropertySet >& xPropSet ); void exportBitmapFill( const css::uno::Reference< css::beans::XPropertySet >& xPropSet ); void exportHatch(const css::uno::Reference& xPropSet); -- cgit