Bug 80348 - FILEOPEN: DOC with table-within-table (single outer cell containing multi-page table) is not continued on next page
Summary: FILEOPEN: DOC with table-within-table (single outer cell containing multi-pag...
Status: RESOLVED DUPLICATE of bug 112346
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.4 release
Hardware: All All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc
: 80515 (view as bug list)
Depends on:
Blocks: DOC-Tables
  Show dependency treegraph
 
Reported: 2014-06-22 08:41 UTC by iicirno
Modified: 2020-04-20 15:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
1.doc and 1.pdf (49.16 KB, application/zip)
2014-06-22 08:41 UTC, iicirno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iicirno 2014-06-22 08:41:07 UTC
Created attachment 101519 [details]
1.doc and 1.pdf

I don't konw why, but sometimes the tables are not transferred to the next page.
Also, if you turn web view, you can see all cells.
1.doc - original file.
1.pdf - how it looks in MS office.
Comment 1 Jorendc 2014-06-22 09:13:15 UTC
Already repro in Version: 4.2.5.2 Build ID: 61cb170a04bb1f12e77c884eab9192be736ec5f5

Probably also repro in earlier versions.
Comment 2 Cor Nouws 2014-06-23 19:46:11 UTC
(In reply to comment #0)

> I don't konw why, but sometimes the tables are not transferred to the next
> page.

This has to do with one of the (heading?) styles being set as "keep with next".
I expect that there already is an issue for this ...
Comment 3 Cor Nouws 2014-06-25 14:11:47 UTC
*** Bug 80515 has been marked as a duplicate of this bug. ***
Comment 4 Owen Genat (retired) 2014-09-28 13:35:36 UTC
Rendering behaviour under GNU/Linux using:

- v3.3.4.1 OOO330m19 Build: 401
- v3.4.6.2 OOO340m1 Build: 602
- v3.5.7.2 Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b
- v3.6.7.2 Build ID: e183d5b
- v4.0.6.2 Build ID: 2e2573268451a50806fcd60ae2d9fe01dd0ce24
- v4.1.6.2 Build ID: 40ff705089295be5be0aae9b15123f687c05b0a
- v4.2.6.3 Build ID: 3fd416d4c6db7d3204c17ce57a1d70f6e531ee21
- v4.3.2.2 Build ID: edfb5295ba211bd31ad47d0bad0118690f76407d
- v4.4.0.0.alpha0+ Build ID: df73f4115cfe4d07e4159adf087571687eb173ec TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2014-09-25_23:06:16

... is identical in all versions i.e., table on page 5 does not flow over to page 6+.

(In reply to comment #2)
> (In reply to comment #0)
> > I don't konw why, but sometimes the tables are not transferred to the next
> > page.
> This has to do with one of the (heading?) styles being set as "keep with
> next".

In this case I think the problem with the provided DOC is that it is a table-within-table arrangement i.e., a single cell in the outer table (no border) containing a multi-page table (with border) and some trailing text paragraphs inside. Workaround (valid in v4.1+) to resolve the text flow issue:

1. Highlight the outer table (top left corner "select whole table" cursor).
2. Table > Convert > Table to Text (use default tab-delimited settings).
3. Highlight only those entries that are to be in the table.
4. Table > Convert > Text to Table (use default tab-delimited settings).

I am not sure to what extend LO can or is expected to handle table-within-table arrangements, particular in situations where the outer table is a multi-page single cell. There may be some limitations. Requires developer comment.

Summary amended for clarity. Version set to 3.3.4.
Comment 5 Yan Pas 2014-10-01 22:22:25 UTC
Why the status is still new? THis bug is confirmed and still not assigned to someone. Is there any progress or workaround?
Comment 6 QA Administrators 2015-10-14 19:58:17 UTC Comment hidden (obsolete)
Comment 7 Yan Pas 2015-10-14 20:05:48 UTC
v5.0.2 Linux still present
Comment 8 QA Administrators 2016-11-08 11:41:16 UTC Comment hidden (obsolete)
Comment 9 Yan Pas 2016-11-08 16:27:27 UTC
LO 5.2.3.2 Linux Mint 18 64bit, still reproducible

testfile: https://bugs.documentfoundation.org/attachment.cgi?id=101731
Comment 10 QA Administrators 2018-10-02 02:53:40 UTC Comment hidden (obsolete, spam)
Comment 11 Justin L 2020-04-20 15:15:59 UTC
OP's 1.doc seemed to be fixed already by 5.2.

perechen660.doc from duplicate bug 80515 was fixed in LO 6.0 by
commit a952d1f59f4f84380b82f1eb9e550b8f69c4be5d
Author: Mike Kaganski on Date:   Tue Sep 12 13:54:26 2017 +0300
    tdf#112346: take Word no-wrap limit into account also for ww8

*** This bug has been marked as a duplicate of bug 112346 ***