summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgdocumenthandler.cxx
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2023-06-28 23:46:37 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2023-06-29 10:40:06 +0200
commit14c40c460526f2e4ed2c24a3f50baae25a43a8f2 (patch)
treeabe0964a546eddf5ade34bb71a6faa8fc6913f17 /svgio/source/svgreader/svgdocumenthandler.cxx
parentdb591df99424dd7e1837946b36ca0658a02d520c (diff)
tdf#156066: Add support for feDropShadow filter
Change-Id: I0b2772a7211efb91821853e3369cfc3a5ef6a932 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153727 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svgio/source/svgreader/svgdocumenthandler.cxx')
-rw-r--r--svgio/source/svgreader/svgdocumenthandler.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/svgio/source/svgreader/svgdocumenthandler.cxx b/svgio/source/svgreader/svgdocumenthandler.cxx
index 7883383c5287..a070540e68eb 100644
--- a/svgio/source/svgreader/svgdocumenthandler.cxx
+++ b/svgio/source/svgreader/svgdocumenthandler.cxx
@@ -42,6 +42,7 @@
#include <svgimagenode.hxx>
#include <svgclippathnode.hxx>
#include <svgfecolormatrixnode.hxx>
+#include <svgfedropshadownode.hxx>
#include <svgfefloodnode.hxx>
#include <svgfegaussianblurnode.hxx>
#include <svgfeoffsetnode.hxx>
@@ -341,6 +342,13 @@ namespace
mpTarget->parseAttributes(xAttribs);
break;
}
+ case SVGToken::FeDropShadow:
+ {
+ /// new node for feDropShadow
+ mpTarget = new SvgFeDropShadowNode(maDocument, mpTarget);
+ mpTarget->parseAttributes(xAttribs);
+ break;
+ }
case SVGToken::FeFlood:
{
/// new node for feFlood
@@ -469,6 +477,7 @@ namespace
/// structural elements for filters
case SVGToken::FeColorMatrix:
+ case SVGToken::FeDropShadow:
case SVGToken::FeFlood:
case SVGToken::FeGaussianBlur:
case SVGToken::FeOffset: