summaryrefslogtreecommitdiff
path: root/sw/qa/extras/layout/data/tdf128611.fodt
AgeCommit message (Collapse)Author
2019-12-04tdf#128611 sw: improve rotated text layout in table cellsMiklos Vajna
The problem was that in case a table with 1 row and 2 cells has rotated text in the A1 cell, then the row height is 0, so we aggressively try to break up the text into multiple lines. Then the A2 cell adds more content, so the row height is increased, but the A1 cell is not re-layouted to make use of the increased amount of vertical space. A similar (but working) situation is vertical alignment of cell content, there adding more content to A2 re-formats A1. Fix the problem in a similar way: track if a text frame contains at least one rotated portion, and throw away the portions of the text frame at the end of SwCellFrame::Format(), after vertical alignment is handled. Change-Id: I65383bb1af486771dc671dca3d8bbf1831ba94ff Reviewed-on: https://gerrit.libreoffice.org/84433 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins