android: Update app-specific/MIME type icons
[LibreOffice.git] / include / oox / export / ThemeExport.hxx
blobe1162279ec84a5c5bbff614f79e7616c50ffd93c
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 <sal/config.h>
13 #include <oox/dllapi.h>
14 #include <oox/core/xmlfilterbase.hxx>
15 #include <oox/export/utils.hxx>
17 namespace model
19 class Theme;
20 class FontScheme;
21 class FormatScheme;
22 class EffectStyle;
23 class LineStyle;
24 class FillStyle;
25 class BlipFill;
26 class PatternFill;
27 class GradientFill;
28 class SolidFill;
29 class ComplexColor;
30 struct Transformation;
33 namespace oox
35 class OOX_DLLPUBLIC ThemeExport
37 private:
38 oox::core::XmlFilterBase* mpFilterBase;
39 oox::drawingml::DocumentType meDocumentType;
40 sax_fastparser::FSHelperPtr mpFS;
42 public:
43 ThemeExport(oox::core::XmlFilterBase* pFilterBase, oox::drawingml::DocumentType eDocumentType);
45 void write(OUString const& rPath, model::Theme const& rTheme);
47 private:
48 bool writeColorSet(model::Theme const& rTheme);
49 bool writeFontScheme(model::FontScheme const& rFontScheme);
50 bool writeFormatScheme(model::FormatScheme const& rFormatScheme);
52 void writeEffectStyle(model::EffectStyle const& rEffectStyle);
53 void writeLineStyle(model::LineStyle const& rLineStyle);
54 void writeBackgroundFillStyle(model::FillStyle const& rFillStyle);
55 void writeFillStyle(model::FillStyle const& rFillStyle);
56 void writeBlipFill(model::BlipFill const& rBlipFill);
57 void writeBlip(model::BlipFill const& rBlipFill);
58 void writePatternFill(model::PatternFill const& rPatternFill);
59 void writeGradientFill(model::GradientFill const& rGradientFill);
60 void writeSolidFill(model::SolidFill const& rSolidFill);
61 void writeComplexColor(model::ComplexColor const& rComplexColor);
62 void writeColorPlaceholder(model::ComplexColor const& rComplexColor);
63 void writeColorSystem(model::ComplexColor const& rComplexColor);
64 void writeColorScheme(model::ComplexColor const& rComplexColor);
65 void writeColorHSL(model::ComplexColor const& rComplexColor);
66 void writeColorCRGB(model::ComplexColor const& rComplexColor);
67 void writeColorRGB(model::ComplexColor const& rComplexColor);
68 void writeColorTransformations(std::vector<model::Transformation> const& rTransformations);
71 } // end namespace oox
73 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */