summaryrefslogtreecommitdiffstats
path: root/svgio/inc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 09:44:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 09:44:04 +0000
commiteb358d77291eba677141bab113dc27d7aabb0f3e (patch)
tree2e96f3b5d0c79beaeb536bbf05c3b8564846e65f /svgio/inc
parentAdding debian version 4:24.2.1-4. (diff)
downloadlibreoffice-eb358d77291eba677141bab113dc27d7aabb0f3e.tar.xz
libreoffice-eb358d77291eba677141bab113dc27d7aabb0f3e.zip
Merging upstream version 4:24.2.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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,