summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorJonathan Clark <jonathan@libreoffice.org>2024-11-18 10:03:13 -0700
committerJonathan Clark <jonathan@libreoffice.org>2024-11-28 22:10:05 +0100
commit7e4f4a0ccd3c56093dec44c7dcdd14c8b34623c3 (patch)
tree143ed734707df3092338b951af6072ae5e47cd99 /xmloff/inc
parentc73e52d295c97e1ce35ad7066d0e92982e897e29 (diff)
tdf#163913 Implement font-relative margins
This change adds loext:margin-left and loext:margin-right, which implement margins that support font-relative units. See tdf#36709 for additional details. Change-Id: I31b0dd2b6f98cb5b02fd4dca3608db6fdee4054c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177473 Tested-by: Jenkins Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/xmlprop.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmloff/inc/xmlprop.hxx b/xmloff/inc/xmlprop.hxx
index dd48cb11ff63..d96e81a510a5 100644
--- a/xmloff/inc/xmlprop.hxx
+++ b/xmloff/inc/xmlprop.hxx
@@ -513,6 +513,7 @@ inline constexpr OUString PROP_ParaKeepTogether = u"ParaKeepTogether"_ustr;
inline constexpr OUString PROP_ParaLastLineAdjust = u"ParaLastLineAdjust"_ustr;
inline constexpr OUString PROP_ParaLeftMargin = u"ParaLeftMargin"_ustr;
inline constexpr OUString PROP_ParaLeftMarginRelative = u"ParaLeftMarginRelative"_ustr;
+inline constexpr OUString PROP_ParaLeftMarginUnit = u"ParaLeftMarginUnit"_ustr;
inline constexpr OUString PROP_ParaLineNumberCount = u"ParaLineNumberCount"_ustr;
inline constexpr OUString PROP_ParaLineNumberStartValue = u"ParaLineNumberStartValue"_ustr;
inline constexpr OUString PROP_ParaLineSpacing = u"ParaLineSpacing"_ustr;
@@ -520,6 +521,7 @@ inline constexpr OUString PROP_ParaOrphans = u"ParaOrphans"_ustr;
inline constexpr OUString PROP_ParaRegisterModeActive = u"ParaRegisterModeActive"_ustr;
inline constexpr OUString PROP_ParaRightMargin = u"ParaRightMargin"_ustr;
inline constexpr OUString PROP_ParaRightMarginRelative = u"ParaRightMarginRelative"_ustr;
+inline constexpr OUString PROP_ParaRightMarginUnit = u"ParaRightMarginUnit"_ustr;
inline constexpr OUString PROP_ParaShadowFormat = u"ParaShadowFormat"_ustr;
inline constexpr OUString PROP_ParaSplit = u"ParaSplit"_ustr;
inline constexpr OUString PROP_ParaTabStops = u"ParaTabStops"_ustr;