Apache OpenOffice (AOO) Bugzilla – Issue 25102
Table marked as "keep with next paragraph" can't be splitted
Last modified: 2013-08-07 14:38:26 UTC
The most natural way to label big tables is to write its name and purpose in a paragraph following the table. But now it can happen that the table ends on page boundary while the paragraph containing its label follows on the next page. To prevent that, right-click on the table and select "Table..." in the appearing context menue. The "Table Format" dialog comes up. Select the tab "Text Flow" and mark the check box "keep with next paragraph". This works. BUT there is the following BUG: Now the table, if it is located near a page boundary, is not splitted anymore, even if "Do not split table" is _not_ marked in the "Text Flow" tab of the "Table Format" dialog. A simple workaround of this would be only to select the last line of the table, right-click on the selection, choose "paragraph", then the tab "textflow", then check "keep paragraphs together". But this doesn't work either! (=> Question: Shall I file another issue on that?) There is a more complex workaround for labeling a table in a way that the label is kept with the last line and that the table can be splitted on page boundary: Add a new line to the table, connect all columns in that line, put the label in that line, select this line and the line before with the mouse, right-click, select "Split Table", check "no headers" in the appearing dialog. Now there are two tables: One containing all lines but the last of the origin table, one containing the last line and the label. Select the second table with the mouse, do a right-click, select "Table..." in the appearing context menue, select the tab "Text Flow" in the appearing "Table Format" dialog and check "Do not split table" there. Go out of this dialog. Put the mouse on the nasty empty paragraph in the middle of the two tables and press the key [DEL] (=>Why doesn't backspace work?). In the navigator, rename the two tables in a way to make clear that the two tables belong together.
set target...
Reassigned to MRU
This works a bit inconsintently. If a table is already split across pages and the flag "keep with next paragraph" is activated, it will remain splitted. I think, we should generally allow splitted table with "keep" attribute; it should behave like orhphan control IMO.
*** Issue 56360 has been marked as a duplicate of this issue. ***