summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgstyleattributes.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2012-05-04 14:16:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-03-13 11:22:20 +0000
commiteceecd4a3806f64c2e8fb0a3bcdcc43e1384779f (patch)
treee8c81552d7e3a1374a903cf5ca522a6eb77853e3 /svgio/source/svgreader/svgstyleattributes.cxx
parentcc22c25de9be13596960b8af6c6f40fc2e3fd27d (diff)
Related: #i119125# corrected gradient rendering
and added stuff to add Title and Description to primitives for later usage Conflicts: drawinglayer/Library_drawinglayer.mk drawinglayer/inc/drawinglayer/primitive2d/svggradientprimitive2d.hxx svgio/Package_inc.mk svx/source/sdr/contact/viewcontactofsdrobj.cxx Change-Id: I301c9f5f4ae0efc02d937cd3f56018e27c94a630
Diffstat (limited to 'svgio/source/svgreader/svgstyleattributes.cxx')
-rw-r--r--svgio/source/svgreader/svgstyleattributes.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx
index f015523671ba..f5370729d56e 100644
--- a/svgio/source/svgreader/svgstyleattributes.cxx
+++ b/svgio/source/svgreader/svgstyleattributes.cxx
@@ -1186,6 +1186,8 @@ namespace svgio
maTextAnchor(TextAnchor_notset),
maColor(),
maOpacity(1.0),
+ maTitle(),
+ maDesc(),
maClipPathXLink(),
maMaskXLink(),
maMarkerStartXLink(),
@@ -1755,6 +1757,16 @@ namespace svgio
}
break;
}
+ case SVGTokenTitle:
+ {
+ setTitle(aContent);
+ break;
+ }
+ case SVGTokenDesc:
+ {
+ setDesc(aContent);
+ break;
+ }
case SVGTokenClipPathProperty:
{
readLocalUrl(aContent, maClipPathXLink);