diff options
author | László Németh <nemeth@numbertext.org> | 2025-03-05 16:52:15 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2025-03-06 00:27:09 +0100 |
commit | e79e12484f5a7ec20e48233a2b5b60d7bd8b54ab (patch) | |
tree | 55764ca66be48240da526c039904968cba560060 /odk/examples/python/minimal-extension/registration/license.txt | |
parent | 5137fcc47f8e40dcba991db1f57dc1b395bbf970 (diff) |
tdf#165354 sw: fix frame update (HyphenationKeepLine – part 4)
HEADmaster
Fix missing layout frame update, when the last hyphenated
word is moved to the next column (i.e. also text frame or
table cell), page or spread:
– at modifying hyphenation settings: 1) enabling hyphenation
in the last line again or 2) enabling Move Line;
– at loading columns/frames with hyphenation-keep-line="true"
setting: hyphenation wasn't disabled in the frames, despite
the document model (but it was possible to update them by
using Toggle Formatting Mark);
– at text editing: deleting lines before the line with disabled
hyphenation didn't enable its hyphenation, despite that the
line was not the last line on the page any more.
Add various unit tests for columns, frames and tables, when
the last hyphenated word moved or not moved to the next column,
text frame or page:
– hyphenation-keep-type="column":
– tdf165354_column.fodt: disable hyphenation at the end
of all columns;
– tdf165354_frames_on_same_page_no_hyphenation.fodt:
disable hyphenation at the end of all linked text frames,
including when they are on the same page.
– hyphenation-keep-type="page":
– tdf165354_page_in_last_column.fodt: disable hyphenation
at the end of pages, in columns, too;
– tdf165354_page_in_not_last_column.fodt: otherwise don't
disable hyphenation at the end of the non-page-terminating
columns;
– tdf165354_frames_on_same_page_hyphenation.fodt:
don't disable hyphenation at the end a linked text frame,
if the next frame with the continuation of its text is there
on the same page.
– sw/qa/extras/layout/data/tdf165354_page_in_table.fodt:
disable hyphenation at the end a table cell, if the text
continues on the next page;
– hyphenation-keep-type="spread":
– tdf165354_frames_on_spread_hyphenation.fodt:
don't disable hyphenation at the end a linked text frame,
if the next frame with the continuation of its text is there
on the same spread, see at the end of text frame 2 on page 2
(left page) and its continuation, text frame 3 on page 3 (right
page of the same spread);
– tdf165354_frames_on_right_pages_no_hyphenation.fodt:
disable hyphenation, if the next text frame is there
in a different spread (i.e. a different right page here);
Follow-up to commit 698b38a18f5f70fd8d50968bc50951aba7085175
"tdf#165354 sw cui: implement HyphenationKeepLine – part 3",
commit f8b9cd8fd13897094a014ad06df406f0c78adc62
"tdf#165354 sw xmloff: implement HyphenationKeepLine – part 2"
and commit 3e02ffb76c484a05cdc140d8a10bc3d993fe8320
"tdf#i165354 sw offapi DOCX: implement HyphenationKeepLine – part 1".
Change-Id: I8f0b879cbac30b7972ee27e473d492d8964b1090
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182549
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: Jenkins
Diffstat (limited to 'odk/examples/python/minimal-extension/registration/license.txt')
0 files changed, 0 insertions, 0 deletions