{"push_id":1037221865,"size":1,"distinct_size":1,"ref":"refs/heads/libreoffice-5-1","head":"51ead29f8a4ee006d60b91b9a2966a58461c5569","before":"91455345aa2a15309032b9b3c6e6c32f8701fb33","commits":[{"sha":"51ead29f8a4ee006d60b91b9a2966a58461c5569","author":{"email":"16f13092e03e3d9e997de904d0f86cc803fb6ef7@collabora.co.uk","name":"Miklos Vajna"},"message":"tdf#88453 sw layout: fix split of nested tables with large amount of rows\n\nThis does not fix the original bugdoc, just the case described in\ncomment 2. The bugdoc has an outer table of a single cell, and that cell\nhas a nested table with a single column and many rows.\n\nWhen we split the table, we set the height of the last row frame to\nzero, then the height of the last but one, and so on, till the reduced\ntable fits the page, then move the 0-height frames to the next page, and\nso on. All this recursively, to support nested tables.\n\nThe problem is that 0-height is set only for the contents of the cell\nframes, but not for the cell or row frames themselves, so in case e.g.\nthe default ~0.10cm inner margin of the cell frames, even a 0-height\ntext frame results in a cell frame height of 111 twips. And this error\ncan accumlate if there are enough rows, e.g. with the default fonts 123\nrows are enough to trigger the situation when even a completely reduced\ntable doesn't fit the first page frame, and the layout throws up its\nhands.\n\nFix the problem by setting the height of the cell and row frames to 0 as\nwell in case their content is 0-sized anyway (so a re-format will later\nrestore their correct height).\n\n(cherry picked from commits b4b5dbee1ec7770ed64d7270de46d5cfc06b87b6 and\nf4eb82cf9fea5c1df49fad6ee2d91fc51854cd29)\n\nConflicts:\n\tsw/qa/extras/uiwriter/uiwriter.cxx\n\nChange-Id: Iefbbb7bd6ef97a9a81929eb2599adb961e52fd38\nReviewed-on: https://gerrit.libreoffice.org/23512\nTested-by: Jenkins <ci@libreoffice.org>\nReviewed-by: Andras Timar <andras.timar@collabora.com>","distinct":true,"url":"https://api.github.com/repos/LibreOffice/core/commits/51ead29f8a4ee006d60b91b9a2966a58461c5569"}]}