summaryrefslogtreecommitdiffstats
path: root/svgio/inc
diff options
context:
space:
mode:
Diffstat (limited to 'svgio/inc')
-rw-r--r--svgio/inc/svgstyleattributes.hxx12
-rw-r--r--svgio/inc/svgtoken.hxx1
2 files changed, 13 insertions, 0 deletions
diff --git a/svgio/inc/svgstyleattributes.hxx b/svgio/inc/svgstyleattributes.hxx
index 4516773e83..bf921f8b1b 100644
--- a/svgio/inc/svgstyleattributes.hxx
+++ b/svgio/inc/svgstyleattributes.hxx
@@ -170,6 +170,13 @@ namespace svgio::svgreader
Central
};
+ enum class Overflow
+ {
+ notset,
+ hidden,
+ visible
+ };
+
enum class Visibility
{
notset,
@@ -207,6 +214,7 @@ namespace svgio::svgreader
TextAnchor maTextAnchor;
SvgPaint maColor;
SvgNumber maOpacity;
+ Overflow maOverflow;
Visibility maVisibility;
OUString maTitle;
OUString maDesc;
@@ -410,6 +418,10 @@ namespace svgio::svgreader
SvgNumber getOpacity() const;
void setOpacity(const SvgNumber& rOpacity) { maOpacity = rOpacity; }
+ /// Overflow
+ Overflow getOverflow() const;
+ void setOverflow(const Overflow aOverflow) { maOverflow = aOverflow; }
+
/// Visibility
Visibility getVisibility() const;
void setVisibility(const Visibility aVisibility) { maVisibility = aVisibility; }
diff --git a/svgio/inc/svgtoken.hxx b/svgio/inc/svgtoken.hxx
index 3927a27d1d..26a5d8f5f4 100644
--- a/svgio/inc/svgtoken.hxx
+++ b/svgio/inc/svgtoken.hxx
@@ -112,6 +112,7 @@ namespace svgio::svgreader
Visibility,
Title,
Desc,
+ Overflow,
// AspectRatio and params
PreserveAspectRatio,