summaryrefslogtreecommitdiff
path: root/oox/inc
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2023-03-02 23:36:38 +0900
committerTomaž Vajngerl <quikee@gmail.com>2023-04-12 09:40:09 +0200
commit2a7ab2ab7786ab88b1bdbbe5e4b00ea8e93636f7 (patch)
tree4c2caf1c59daf6320aea307946d98169496ad5f4 /oox/inc
parentb8cc40c906d4838b028e332e9dabbacba7f7c033 (diff)
oox: add model::EffectStyle and import effect style elements of a theme
Extends the SwCoreThemeTest with effect style use-cases- Change-Id: Ifcb96a860fcbc0aae65e8ec276e069f7f60fb950 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149361 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'oox/inc')
-rw-r--r--oox/inc/drawingml/effectpropertiescontext.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/oox/inc/drawingml/effectpropertiescontext.hxx b/oox/inc/drawingml/effectpropertiescontext.hxx
index d6a931043367..81d765cb887a 100644
--- a/oox/inc/drawingml/effectpropertiescontext.hxx
+++ b/oox/inc/drawingml/effectpropertiescontext.hxx
@@ -11,6 +11,8 @@
#include <oox/core/contexthandler2.hxx>
+namespace model { class EffectStyle; }
+
namespace oox::drawingml {
struct EffectProperties;
@@ -19,8 +21,8 @@ struct Effect;
class EffectPropertiesContext final : public ::oox::core::ContextHandler2
{
public:
- EffectPropertiesContext( ::oox::core::ContextHandler2Helper const & rParent,
- EffectProperties& rEffectProperties ) noexcept;
+ EffectPropertiesContext(::oox::core::ContextHandler2Helper const & rParent, EffectProperties& rEffectProperties,
+ model::EffectStyle* pEffectStyle = nullptr) noexcept;
virtual ~EffectPropertiesContext() override;
virtual ::oox::core::ContextHandlerRef
@@ -29,6 +31,7 @@ public:
private:
static void saveUnsupportedAttribs( Effect& rEffect, const AttributeList& rAttribs );
+ model::EffectStyle* mpEffectStyle;
EffectProperties& mrEffectProperties;
};