Created attachment 96842 [details]
a doc showing the problem (see from page 6 on)
I have a writer document with a table splitted between two pages. When I load the doc, I always find the table splitted between many pages with just one or two rows per page and the rest (the most part) empty. I can force the right formatting adding and deleting some lines before of the table.
I observed this problem (both on win and ubuntu) since many time but I never thought to file a bug so I selected the oldest one in the "Version the bug appeared:" list.
In attach the chapter of my book showing the problem (see from page 6 on).
Steps to reproduce:
load the file in attach
Operating System: All
Version: 22.214.171.124 release
Created attachment 96875 [details]
In the re-formatted file I attached I selected all the text (ctrl-A) and then cleared all direct formatting (ctrl-M) and saved the document. When I re-opened it the table was no longer split across many pages. I am using version 126.96.36.199. It has been my experience that many weird errors occur when formatting is changed manually instead of using the paragraph and character styles to do all the formatting for you.
Tied with bug 70018, in my opinion.
When I select all, remove direct formatting, save, and reload the document it does not fix the problem. I do see that sometimes the document reads in properly the first time and sometimes not.
I also see where adding a line after the first four can make the second table jump to the second page.
Hi, I agree also that the direct formatting is not the better way to handle that sort of document especially if it's a book. So removing the extra paragraph marks and setting the correct options in the table settings (if you add paragraph marks, then Keep with next paragraph should be set) places it correctly and didn't split on several pages. Set as worksforme. I use 188.8.131.52 under Ubuntu - Sophie
(In reply to comment #4)
> Hi, I agree also that the direct formatting is not the better way to handle
> that sort of document especially if it's a book. So removing the extra
> paragraph marks and setting the correct options in the table settings (if
> you add paragraph marks, then Keep with next paragraph should be set) places
> it correctly and didn't split on several pages. Set as worksforme. I use
> 184.108.40.206 under Ubuntu - Sophie
I'm not sure I follow you. I can't remove the paragraph marks in the table -- each table cell seems to require at least one paragraph mark. There aren't any extra paragraph marks in the tables of my test document.
And if I mark the two paragraphs in my Table 1 as "keep with next", that doesn't solve the problem here. Table 2 remains on page 2 even with plenty of room on page 1.
I was able to fix the example as follow (LO 220.127.116.11 on Linux):
-Selecting the full table (with column selection),
-using ctrl-M for removing the direct formating on the selection,
-give to the full table the style Table Contents
-opening F11 Styles,
- editing the style Table Contents for changing the font to 8pt
- editing the style Table Contents for changing the font to Bold
-F11 stays open, select the first row (is the table Header), give the style Table Heading
Text was fixed directly, without firs save-close-reopen.
No other change
Closing as INVALID per comment 6.