From 7e4f4a0ccd3c56093dec44c7dcdd14c8b34623c3 Mon Sep 17 00:00:00 2001 From: Jonathan Clark Date: Mon, 18 Nov 2024 10:03:13 -0700 Subject: 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 --- xmloff/inc/xmlprop.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xmloff/inc') 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; -- cgit