summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2020-03-25 14:58:14 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2020-03-25 21:42:54 +0100
commit5a100a3b62da5ea94d4707c10633023065e1d04f (patch)
tree42e4e8d3e75b8a47e784849a80972f88082bc66e /include
parent4f1d258e4942631324aa1810bf016a1bf9ff8f9a (diff)
tdf#101181: add sidebar panel for Glow effect
... in Writer, Calc, Draw and Impress for CustomShapes. The artifacts that become apparent using the controls, e.g. remnants of the effect when decreasing radius (in Impress), or glow not drawn until reload after enabled or radius set to 0, should be fixed in a separate commit. Change-Id: I6107597161bc67ae8c3e62c260ef6ad241c7dedf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91056 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/sdglowmetricitem.hxx37
-rw-r--r--include/svx/svxids.hrc3
2 files changed, 3 insertions, 37 deletions
diff --git a/include/svx/sdglowmetricitem.hxx b/include/svx/sdglowmetricitem.hxx
deleted file mode 100644
index 4a78cdedc19c..000000000000
--- a/include/svx/sdglowmetricitem.hxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-#ifndef INCLUDED_SVX_SDGLOWMETRICITEM_HXX
-#define INCLUDED_SVX_SDGLOWMETRICITEM_HXX
-
-#include <svx/svddef.hxx>
-#include <svl/poolitem.hxx>
-#include <svx/svxdllapi.h>
-
-#include <com/sun/star/table/GlowFormat.hpp>
-#include <drawinglayer/attribute/sdrglowattribute.hxx>
-
-class SVX_DLLPUBLIC SdrGlowItem : public SfxPoolItem
-{
-private:
- css::uno::Reference<css::table::GlowFormat> m_xGlow;
-
-public:
- SdrGlowItem();
- virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric,
- MapUnit ePresMetric, OUString& rText,
- const IntlWrapper&) const override;
- virtual bool operator==(const SfxPoolItem&) const override;
- virtual bool QueryValue(css::uno::Any& rVal, sal_uInt8 nMemberId = 0) const override;
- virtual bool PutValue(const css::uno::Any& rVal, sal_uInt8 nMemberId) override;
- virtual SdrGlowItem* Clone(SfxItemPool* pPool = nullptr) const override;
-
- drawinglayer::attribute::SdrGlowAttribute GetGlowAttr() const;
-};
-
-#endif
diff --git a/include/svx/svxids.hrc b/include/svx/svxids.hrc
index f12a326d0d2a..32b0f5ba8350 100644
--- a/include/svx/svxids.hrc
+++ b/include/svx/svxids.hrc
@@ -414,6 +414,9 @@ class SvxSetItem;
#define SID_ATTR_TRANSFORM_HORI_MIRROR ( SID_SVX_START + 317 )
#define SID_ATTR_TRANSFORM_ANCHOR ( SID_SVX_START + 318 )
#define SID_ATTR_TRANSFORM_VERT_ORIENT ( SID_SVX_START + 319 )
+#define SID_ATTR_GLOW ( SID_SVX_START + 320 )
+#define SID_ATTR_GLOW_COLOR ( SID_SVX_START + 321 )
+#define SID_ATTR_GLOW_RADIUS ( SID_SVX_START + 322 )
#define SID_SCAN ( SID_SVX_START + 330 )
#define SID_TWAIN_SELECT ( SID_SVX_START + 331 )
#define SID_TWAIN_TRANSFER ( SID_SVX_START + 332 )