Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / include / docmodel / uno / UnoGradientTools.hxx
blob3d748d4930d23a131f4fe6feadb7deb6cc94fff1
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #pragma once
12 #include <docmodel/dllapi.h>
13 #include <basegfx/utils/bgradient.hxx>
14 #include <com/sun/star/awt/Gradient2.hpp>
15 #include <com/sun/star/awt/ColorStopSequence.hpp>
16 #include <com/sun/star/uno/Any.hxx>
18 namespace model::gradient
20 DOCMODEL_DLLPUBLIC css::awt::Gradient2 createUnoGradient2(basegfx::BGradient const& rGradient);
22 DOCMODEL_DLLPUBLIC basegfx::BGradient getFromUnoGradient2(css::awt::Gradient2 const& rGradient2);
23 DOCMODEL_DLLPUBLIC basegfx::BGradient getFromAny(css::uno::Any const& rAny);
25 DOCMODEL_DLLPUBLIC css::awt::ColorStopSequence
26 createColorStopSequence(basegfx::BColorStops const& rColorStops);
28 DOCMODEL_DLLPUBLIC basegfx::BColorStops
29 getColorStopsFromUno(css::awt::ColorStopSequence const& rColorStopSequence);
30 DOCMODEL_DLLPUBLIC basegfx::BColorStops getColorStopsFromAny(css::uno::Any const& rAny);
33 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */