LibreOffice Module oox (master) 1
ThemeExport.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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 */
9
10#pragma once
11
12#include <sal/config.h>
13#include <oox/dllapi.h>
15#include <oox/export/utils.hxx>
16
17namespace model
18{
19class Theme;
20class FontScheme;
21class FormatScheme;
22class EffectStyle;
23class LineStyle;
24class FillStyle;
25class BlipFill;
26class PatternFill;
27class GradientFill;
28class SolidFill;
29class ComplexColor;
30struct Transformation;
31}
32
33namespace oox
34{
36{
37private:
41
42public:
44
45 void write(OUString const& rPath, model::Theme const& rTheme);
46
47private:
48 bool writeColorSet(model::Theme const& rTheme);
49 bool writeFontScheme(model::FontScheme const& rFontScheme);
50 bool writeFormatScheme(model::FormatScheme const& rFormatScheme);
51
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);
69};
70
71} // end namespace oox
72
73/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
oox::core::XmlFilterBase * mpFilterBase
Definition: ThemeExport.hxx:38
oox::drawingml::DocumentType meDocumentType
Definition: ThemeExport.hxx:39
sax_fastparser::FSHelperPtr mpFS
Definition: ThemeExport.hxx:40
#define OOX_DLLPUBLIC
Definition: dllapi.h:28
enum SAL_DLLPUBLIC_RTTI FillStyle
RefMap< sal_Int32, TextCharacterProperties > FontScheme
Definition: theme.hxx:58
std::shared_ptr< FastSerializerHelper > FSHelperPtr
LineStyle