LibreOffice Module oox (master) 1
misccontexts.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 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#ifndef INCLUDED_OOX_DRAWINGML_MISCCONTEXTS_HXX
21#define INCLUDED_OOX_DRAWINGML_MISCCONTEXTS_HXX
22
24
26
27namespace oox::drawingml {
28
29
31class SolidFillContext final : public ColorContext
32{
33public:
34 explicit SolidFillContext(
35 ::oox::core::ContextHandler2Helper const & rParent,
36 FillProperties& rFillProps );
37};
38
39
42{
43public:
44 explicit GradientFillContext(
45 ::oox::core::ContextHandler2Helper const & rParent,
46 const ::oox::AttributeList& rAttribs,
47 GradientFillProperties& rGradientProps );
48
51 sal_Int32 nElement,
52 const ::oox::AttributeList& rAttribs ) override;
53
54private:
56};
57
60{
61public:
62 explicit PatternFillContext(
63 ::oox::core::ContextHandler2Helper const & rParent,
64 const ::oox::AttributeList& rAttribs,
65 PatternFillProperties& rPatternProps );
66
69 sal_Int32 nElement,
70 const ::oox::AttributeList& rAttribs ) override;
71
72private:
74};
75
76
80{
81public:
82 explicit ArtisticEffectContext(
83 ::oox::core::ContextHandler2Helper const & rParent,
84 ArtisticEffectProperties& rEffect );
85 virtual ~ArtisticEffectContext() override;
86
89 sal_Int32 nElement,
90 const ::oox::AttributeList& rAttribs ) override;
91
92private:
94};
95
96
100{
101public:
102 explicit BlipExtensionContext(
103 ::oox::core::ContextHandler2Helper const & rParent,
104 BlipFillProperties& rBlipProps );
105 virtual ~BlipExtensionContext() override;
106
109 sal_Int32 nElement,
110 const ::oox::AttributeList& rAttribs ) override;
111
112private:
114};
115
116
120{
121public:
122 explicit DuotoneContext(
123 ::oox::core::ContextHandler2Helper const & rParent,
124 BlipFillProperties& rBlipProps );
125 virtual ~DuotoneContext() override;
126
129 sal_Int32 nElement,
130 const ::oox::AttributeList& rAttribs ) override;
131
132private:
135};
136
137
141{
142public:
143 explicit ColorChangeContext(
144 ::oox::core::ContextHandler2Helper const & rParent,
145 const ::oox::AttributeList& rAttribs,
146 BlipFillProperties& rBlipProps );
147 virtual ~ColorChangeContext() override;
148
151 sal_Int32 nElement,
152 const ::oox::AttributeList& rAttribs ) override;
153
154private:
157};
158
162{
163public:
164 explicit BlipContext(
165 ::oox::core::ContextHandler2Helper const & rParent,
166 const ::oox::AttributeList& rAttribs,
167 BlipFillProperties& rBlipProps );
168
171 sal_Int32 nElement,
172 const ::oox::AttributeList& rAttribs ) override;
173
174private:
176};
177
180{
181public:
182 explicit BlipFillContext(
183 ::oox::core::ContextHandler2Helper const & rParent,
184 const ::oox::AttributeList& rAttribs,
185 BlipFillProperties& rBlipProps );
186
189 sal_Int32 nElement,
190 const ::oox::AttributeList& rAttribs ) override;
191
192private:
194};
195
199{
200public:
201 explicit FillPropertiesContext(
202 ::oox::core::ContextHandler2Helper const & rParent,
203 FillProperties& rFillProps );
204
207 sal_Int32 nElement,
208 const ::oox::AttributeList& rAttribs ) override;
209
212 ::oox::core::ContextHandler2Helper const & rParent,
213 sal_Int32 nElement,
214 const ::oox::AttributeList& rAttribs,
215 FillProperties& rFillProps );
216
217private:
219};
220
229{
230public:
232 ::oox::core::ContextHandler2Helper const & rParent,
233 Color& rColor );
234 virtual ~SimpleFillPropertiesContext() override;
235
236private:
238};
239
240} // namespace oox::drawingml
241
242#endif
243
244/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Context handler that imports a14:imgProps, a14:imgLayer, a14:imgEffect containers and the a14:artisti...
ArtisticEffectContext(::oox::core::ContextHandler2Helper const &rParent, ArtisticEffectProperties &rEffect)
ArtisticEffectProperties & maEffect
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const ::oox::AttributeList &rAttribs) override
Context handler that imports the a:blip element containing the fill bitmap and bitmap color transform...
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const ::oox::AttributeList &rAttribs) override
BlipContext(::oox::core::ContextHandler2Helper const &rParent, const ::oox::AttributeList &rAttribs, BlipFillProperties &rBlipProps)
BlipFillProperties & mrBlipProps
Context handler that imports the a:extLst element inside a:blip and its children a:ext,...
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const ::oox::AttributeList &rAttribs) override
BlipExtensionContext(::oox::core::ContextHandler2Helper const &rParent, BlipFillProperties &rBlipProps)
Context handler that imports the a:blipFill element.
BlipFillContext(::oox::core::ContextHandler2Helper const &rParent, const ::oox::AttributeList &rAttribs, BlipFillProperties &rBlipProps)
BlipFillProperties & mrBlipProps
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const ::oox::AttributeList &rAttribs) override
Context handler that imports the a:clrChange element containing the colors of a bitmap color change t...
virtual ~ColorChangeContext() override
ColorChangeContext(::oox::core::ContextHandler2Helper const &rParent, const ::oox::AttributeList &rAttribs, BlipFillProperties &rBlipProps)
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const ::oox::AttributeList &rAttribs) override
Context handler for elements that contain a color value element (a:scrgbClr, a:srgbClr,...
Context handler that imports the a:duotone element containing the colors of a bitmap duotone transfor...
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const ::oox::AttributeList &rAttribs) override
DuotoneContext(::oox::core::ContextHandler2Helper const &rParent, BlipFillProperties &rBlipProps)
BlipFillProperties & mrBlipProps
virtual ~DuotoneContext() override
Context handler for elements that contain a fill property element (a:noFill, a:solidFill,...
::oox::core::ContextHandlerRef createFillContext(::oox::core::ContextHandler2Helper const &rParent, sal_Int32 nElement, const ::oox::AttributeList &rAttribs, FillProperties &rFillProps)
FillPropertiesContext(::oox::core::ContextHandler2Helper const &rParent, FillProperties &rFillProps)
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const ::oox::AttributeList &rAttribs) override
Context handler that imports the a:gradFill element.
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const ::oox::AttributeList &rAttribs) override
GradientFillProperties & mrGradientProps
GradientFillContext(::oox::core::ContextHandler2Helper const &rParent, const ::oox::AttributeList &rAttribs, GradientFillProperties &rGradientProps)
Context handler that imports the a:pattFill element.
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const ::oox::AttributeList &rAttribs) override
PatternFillContext(::oox::core::ContextHandler2Helper const &rParent, const ::oox::AttributeList &rAttribs, PatternFillProperties &rPatternProps)
PatternFillProperties & mrPatternProps
Context handler for elements that contain a fill property element (a:noFill, a:solidFill,...
SimpleFillPropertiesContext(::oox::core::ContextHandler2Helper const &rParent, Color &rColor)
Context handler that imports the a:solidFill element.
SolidFillContext(::oox::core::ContextHandler2Helper const &rParent, FillProperties &rFillProps)
::rtl::Reference< ContextHandler > ContextHandlerRef