1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
12 #include <sal/config.h>
13 #include <oox/dllapi.h>
14 #include <oox/core/xmlfilterbase.hxx>
15 #include <oox/export/utils.hxx>
30 struct Transformation
;
35 class OOX_DLLPUBLIC ThemeExport
38 oox::core::XmlFilterBase
* mpFilterBase
;
39 oox::drawingml::DocumentType meDocumentType
;
40 sax_fastparser::FSHelperPtr mpFS
;
43 ThemeExport(oox::core::XmlFilterBase
* pFilterBase
, oox::drawingml::DocumentType eDocumentType
);
45 void write(OUString
const& rPath
, model::Theme
const& rTheme
);
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: */