diff options
author | László Németh <nemeth@numbertext.org> | 2024-10-29 18:02:51 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2024-11-01 08:50:54 +0100 |
commit | a1dcbd1d1ce6071d48bb5df26d7839aeb21b75a8 (patch) | |
tree | 80ea00607aa7fcb8b2c5541dae0f1058674aadc4 /sw/qa/python | |
parent | cf14352cd8eeb202f0b3a57a14909435818931bb (diff) |
tdf#48459 sw inline heading: add Inline Heading frame style
Add the new frame style Inline Heading with default variable
width and anchoring as character to support UX better
– and later, – interoperability.
Note: the previous commit (7a35f3dc7419d833b8f47069c4df63e900ccb880)
used the Formula style for inline headings.
Note: adjust check_styles.py unit test according to the extended
frame style list.
Follow-up to commit 7a35f3dc7419d833b8f47069c4df63e900ccb880
"tdf#48459 sw inline heading: apply it on the selected words".
Change-Id: I615a53803d755acfbabb77fe53b0e5b60fa9fcc0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175834
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/qa/python')
-rw-r--r-- | sw/qa/python/check_styles.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/python/check_styles.py b/sw/qa/python/check_styles.py index 922e9093d0eb..5d5052143bd9 100644 --- a/sw/qa/python/check_styles.py +++ b/sw/qa/python/check_styles.py @@ -147,7 +147,7 @@ class CheckStyle(unittest.TestCase): def test_FrameFamily(self): xDoc = CheckStyle._uno.openEmptyWriterDoc() xFrameStyles = xDoc.StyleFamilies["FrameStyles"] - vEmptyDocStyles = ['Formula', 'Frame', 'Graphics', 'Labels', 'Marginalia', 'OLE', 'Watermark'] + vEmptyDocStyles = ['Formula', 'Frame', 'Graphics', 'Inline Heading', 'Labels', 'Marginalia', 'OLE', 'Watermark'] self.__test_StyleFamily(xFrameStyles, vEmptyDocStyles, "SwXStyle") self.__test_StyleFamilyIndex(xFrameStyles, vEmptyDocStyles, "SwXStyle") self.__test_StyleFamilyInsert(xDoc, xFrameStyles, vEmptyDocStyles, "com.sun.star.style.FrameStyle", "com.sun.star.style.CharacterStyle") |