Bug 156129 - FILEOPEN DOCX: cell block SDT not imported as content control
Summary: FILEOPEN DOCX: cell block SDT not imported as content control
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: compatibilityMode15
Keywords:
Depends on:
Blocks: DOCX-Content_Control
  Show dependency treegraph
 
Reported: 2023-07-03 07:38 UTC by SATYA SRINIVAS K
Modified: 2024-07-24 13:05 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample Document to reproduce the issue (15.78 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-07-03 07:38 UTC, SATYA SRINIVAS K
Details
Comparision between MSO and LO (202.49 KB, image/png)
2023-07-03 07:39 UTC, SATYA SRINIVAS K
Details
Row_Shifted_to_Previous_page_MIN_MSO2010.pdf: Excel 2010 opens this very differently. (99.01 KB, application/pdf)
2024-07-23 13:38 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SATYA SRINIVAS K 2023-07-03 07:38:04 UTC
Docx file contains a table starting in page 1 and goes up to the page 2.
The table has total 3 rows each row is having merged cells.
LO renders 2.4 is on first page.
where as MS word renders 2.4 is on 2nd page.

I don't know if this bug is relevant to the bug https://bugs.documentfoundation.org/show_bug.cgi?id=155813
This document doesn't check the "Don't add space between paragraphs of the same style" option where as the document in other bug(155813) does.

Steps to Reproduce:
1.Open the attached "Row_Shifted_to_Previous_page_MIN.docx" in both LO and MS word.
2.See the number of rows rendered in 1st page and second page between two applications.


Actual Results:
LO renders 2.4 is on 1st page where as MS words renders same point is on second page.

Expected Results:
LO should render same as MS word.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Attachments:"Row_Shifted_to_Previous_page_MIN.docx" and "Row_Shifted_to_Previous_page_MIN.png"
Comment 1 SATYA SRINIVAS K 2023-07-03 07:38:55 UTC
Created attachment 188165 [details]
Sample Document to reproduce the issue
Comment 2 SATYA SRINIVAS K 2023-07-03 07:39:21 UTC
Created attachment 188166 [details]
Comparision between MSO and LO
Comment 3 Gabor Kelemen (allotropia) 2023-07-03 18:59:51 UTC
Many table rows have in Word set their height as "At least". I know this bug :).

*** This bug has been marked as a duplicate of bug 155229 ***
Comment 4 Justin L 2024-07-23 13:38:01 UTC
Created attachment 195451 [details]
Row_Shifted_to_Previous_page_MIN_MSO2010.pdf: Excel 2010 opens this very differently.

I think the major factor in this document is likely the size of the checkbox in the last column. If I delete that column, then in Excel the table resizes to look like what LO shows.

In other words, the "atLeast" size of the row is likely irrelevant, and the size of the "MS Gothic" content control checkbox is the determining factor in the row height.
Comment 5 Justin L 2024-07-23 15:10:57 UTC
Oh wow. This one has REALLY WEIRD content control definitions. Instead of the cell starting and saying it has a content control inside of it, the content control itself contains the cell definition.

We don't import the content control as a content control, by the way. We just import it as regular text.