summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2024-06-24 13:12:59 -0400
committerJustin Luth <jluth@mail.com>2024-06-28 01:24:36 +0200
commit5c6c6a73e9c58ad934a4f89505d5b3e2b781e0b9 (patch)
tree356889252d23e70712ef8eecb63f26fa117e8d1f /include
parent8fc2fd284bca88d491ff5975a7110c188344976b (diff)
tdf#43767 mso-format layout: no smallcaps applied to numbering
If the paragraph marker is formatted as Uppercase, then Uppercase is applied to that line's numbering as well. However, if the marker is formatted as SmallCaps, it MUST NOT be applied for MSO formats. Apparently MSO only supports Uppercase and SmallCaps, not Lowercase or Titlease. I don't like these adhoc exceptions, so I didn't attempt to apply them to ODF formats. Let's keep it simple for ODF - any char format that applies to the entire paragraph should apply to numbering as well (except for the existing underline/overline exceptions). - if you don't like that char attributes apply at all, blame MSO. - if you don't like that DOCX is missing your goofy formatting, blame MSO for being inconsistent. ooxmlexport12's tdf143384_tableInFoot_negativeMargins.docx is almost interesting because it applies superscript and small caps. However, the list is already uppercase, so it can't be used for the test. make CppunitTest_sw_ooxmlexport21 \ CPPUNIT_TEST_NAME=testTdf43767_caseMapNumbering Change-Id: I273baebc996adfd001e1c591dbb9aef9272a42f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169476 Reviewed-by: Justin Luth <jluth@mail.com> Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r--include/editeng/svxfont.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/editeng/svxfont.hxx b/include/editeng/svxfont.hxx
index 126b56f8f65f..9061ffe398d2 100644
--- a/include/editeng/svxfont.hxx
+++ b/include/editeng/svxfont.hxx
@@ -113,6 +113,9 @@ public:
SvxFont& operator=( const SvxFont& rFont );
SvxFont& operator=( const Font& rFont );
+
+ // returns true if the SvxFont's own properties are equal (the SvxFont portion of an operator==)
+ bool SvxFontSubsetEquals(const SvxFont& rFont) const;
};
#endif // INCLUDED_EDITENG_SVXFONT_HXX