Description: First row of a table is repeating in every page. Steps to Reproduce: 1. View the attached sample document("Sample Offer Letter for Engineering - Table error.docx") in LibreOffice 2. Open the same file in MS office. 3. Compare it and observe that the first row of the table in page 1 is repeated in the second page as well. 4. Check attached MSO.png and LO.png. Actual Results: The first row of the table is repeated across the pages. Expected Results: The row/content should not repeat, it should be same as in the original document. Reproducible: Always User Profile Reset: Yes Additional Info: Version: 25.2.5.2 (X86_64) / LibreOffice Community Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022 CPU threads: 12; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded
Created attachment 202222 [details] Sample Offer Letter for Engineering - Table error.docx
Created attachment 202223 [details] LO.png
Created attachment 202224 [details] MSO.png
Reproducible Version: 25.2.5.2 (X86_64) / LibreOffice Community Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022 CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded AND Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 7f4868348c14b305fcd75744e1e3544d0d3a5d61 CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded Removing the option, it is not saved with the file. *** This bug has been marked as a duplicate of bug 158324 ***
(In reply to m_a_riosv from comment #5) > Reproducible > Version: 25.2.5.2 (X86_64) / LibreOffice Community > Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022 > CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: > Skia/Raster; VCL: win > Locale: es-ES (es_ES); UI: en-US > Calc: CL threaded > AND > Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community > Build ID: 7f4868348c14b305fcd75744e1e3544d0d3a5d61 > CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: > Skia/Raster; VCL: win > Locale: es-ES (es_ES); UI: en-US > Calc: CL threaded > > Removing the option, it is not saved with the file. > > *** This bug has been marked as a duplicate of bug 158324 *** This issue has been marked as a duplicate of bug 158324. However, the scenarios are different: Bug 158324 involves a floating table where the Repeat Header property is set to true. In this case, the issue occurs with a non-floating table where the Repeat Header property is set to false.
This started in LO 6.4 with commit f9aac900ada3d507526eeeed5b51fc7a10ab4cae Author: László Németh on Wed Oct 2 14:57:16 2019 +0200 tdf#81100 DOCX import: repeat header according to table style Reviewed-on: https://gerrit.libreoffice.org/80053
styles.xml has GreyTable1 defining firstRow with <w:tblHeader/> 17.4.49 tblHeader (Repeat Table Row on Every New Page) This element specifies that the current table row shall be repeated at the top of each new page on which part of this table is displayed. This gives this table row the behavior of a 'header' row on each of these pages. This element can be applied to any number of rows at the top of the table structure in order to generate multi-row table headers. If this element is omitted, this table row shall not be repeated on each new page on which the table is displayed. As well, if this row is not contiguously connected with the first row of the table (that is, if this table row is not either the first row, or all rows between this row and the first row are not marked as header rows) then this property shall be ignored. In document.xml, the style is used with <w:tblLook w:val="0680" w:firstRow="0" w:lastRow="0" w:firstColumn="1" w:lastColumn="0" w:noHBand="1" w:noVBand="1"/> So that suggests that since firstRow = 0, we don't use the first row style, and thus our table should not have a repeating header.
*** Bug 169586 has been marked as a duplicate of this bug. ***