Issue 25102 - Table marked as "keep with next paragraph" can't be splitted
Summary: Table marked as "keep with next paragraph" can't be splitted
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1
Hardware: All All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
: 56360 (view as issue list)
Depends on:
Reported: 2004-02-05 10:51 UTC by michaelis
Modified: 2013-08-07 14:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description michaelis 2004-02-05 10:51:47 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.
Comment 1 mci 2004-02-06 08:48:30 UTC
set target...
Comment 2 h.ilter 2004-04-19 13:28:41 UTC
Reassigned to MRU
Comment 3 michael.ruess 2004-06-18 08:21:02 UTC
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.
Comment 4 michael.ruess 2005-11-01 09:12:03 UTC
*** Issue 56360 has been marked as a duplicate of this issue. ***