summaryrefslogtreecommitdiffstats
path: root/svgio/inc
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2012-10-30 14:05:53 +0000
committerXisco Fauli <anistenis@gmail.com>2013-04-14 17:52:33 +0200
commitbc589d57f083279b6d619904b937fae706ece493 (patch)
tree85bfcfb91e6fb2be16c81276cca705005bd7bef1 /svgio/inc
parentFix #120334# Added support for multiple CSS styles per graphic primitive (diff)
downloadcore-bc589d57f083279b6d619904b937fae706ece493.tar.gz
core-bc589d57f083279b6d619904b937fae706ece493.zip
#121221# added boolean state to remember when the StrokeDasharray was set to empty by purpose
Diffstat (limited to 'svgio/inc')
-rw-r--r--svgio/inc/svgio/svgreader/svgstyleattributes.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/svgio/inc/svgio/svgreader/svgstyleattributes.hxx b/svgio/inc/svgio/svgreader/svgstyleattributes.hxx
index e8c39d7c5943..4e0c1acd613d 100644
--- a/svgio/inc/svgio/svgreader/svgstyleattributes.hxx
+++ b/svgio/inc/svgio/svgreader/svgstyleattributes.hxx
@@ -203,6 +203,9 @@ namespace svgio
// vaules for fill, stroke, strokeWidth and others
bool mbIsClipPathContent : 1;
+ // #121221# Defines if evtl. an empty array *is* set
+ bool mbStrokeDasharraySet : 1;
+
/// internal helpers
void add_fillGradient(
const basegfx::B2DPolyPolygon& rPath,
@@ -319,6 +322,10 @@ namespace svgio
const SvgNumberVector& getStrokeDasharray() const;
void setStrokeDasharray(const SvgNumberVector& rStrokeDasharray = SvgNumberVector()) { maStrokeDasharray = rStrokeDasharray; }
+ /// #121221# StrokeDasharray needs a set state, it *may* be set to empty by purpose
+ bool getStrokeDasharraySet() const { return mbStrokeDasharraySet; }
+ void setStrokeDasharraySet(bool bNew) { mbStrokeDasharraySet = bNew; }
+
/// StrokeDashOffset content
const SvgNumber getStrokeDashOffset() const;
void setStrokeDashOffset(const SvgNumber& rStrokeDashOffset = SvgNumber()) { maStrokeDashOffset = rStrokeDashOffset; }