summaryrefslogtreecommitdiff
path: root/svgio/inc/svgio/svgreader/svgstylenode.hxx
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2014-07-16 09:42:11 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-07-16 11:40:58 +0100
commit0879a639bc7c734f0847f74b965809f9107b3195 (patch)
tree94501e749cdfe270b1b20302fa3bbc79535586c3 /svgio/inc/svgio/svgreader/svgstylenode.hxx
parent3a1abb6804c0012718e11dab15d4f35acdef243a (diff)
Resolves: #i125258# reworked some of the style hierarchy stuff
(cherry picked from commit 3b13e15a7174f5177700fdcd4864b64fbf0b3535) Conflicts: svgio/inc/svgio/svgreader/svgstylenode.hxx svgio/source/svgreader/svggnode.cxx svgio/source/svgreader/svgstyleattributes.cxx svgio/source/svgreader/svgstylenode.cxx svgio/source/svgreader/svgsvgnode.cxx Change-Id: I5cfe6871ab235305f206d83d643884b493901dfe
Diffstat (limited to 'svgio/inc/svgio/svgreader/svgstylenode.hxx')
-rw-r--r--svgio/inc/svgio/svgreader/svgstylenode.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svgio/inc/svgio/svgreader/svgstylenode.hxx b/svgio/inc/svgio/svgreader/svgstylenode.hxx
index 23e0230d644b..fc851dfe6940 100644
--- a/svgio/inc/svgio/svgreader/svgstylenode.hxx
+++ b/svgio/inc/svgio/svgreader/svgstylenode.hxx
@@ -42,6 +42,9 @@ namespace svgio
SvgNode* pParent);
virtual ~SvgStyleNode();
+ /// #i125258# tell if this node is allowed to have a parent style (e.g. defs do not)
+ virtual bool supportsParentStyle() const SAL_OVERRIDE;
+
virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) SAL_OVERRIDE;
void addCssStyleSheet(const OUString& aContent);