Created attachment 190975 [details] Example file from Word 2016 Attached document contains a floating table with the first row set as "Repeat as header row at the top of each page". This property is imported correctly and the first row is repeated at the top of the second page, but Word actually does not repeat it. 1. Open attached document -> Notice the first row is repeated on the top of the second page. In Word, this is not the case. Below the first table is the same table as a non-floating one with the same "Repeat as header row at the top of each page" set. This works as expected in both. Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 5fe2bf914c251009ec4709fa8fdc45c3b53f676b CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: threaded and the same in 7.0, 6.0, 5.0 etc, not a recent regression.
Created attachment 190976 [details] Screenshot of the document in Word 2016 and Writer master
In the online / 365 version, this seems to be repeated as expected: https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fbugs.documentfoundation.org%2Fattachment.cgi%3Fid%3D190975
I see the repeated header in both tables in: Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 43967453e15e1d054972a7586cfef8f8e0866270 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded (In reply to Gabor Kelemen (allotropia) from comment #2) > In the online / 365 version, this seems to be repeated as expected This is true for the "Reading view" that you linked to. But when editing in the "Separate Pages" view, online MS 365 doesn't repeat the header for the floating table. Note also this from the MS Office documentation[1]: > "Repeated table headers are visible only in Print Layout view or when you print the document." (In reply to Gabor Kelemen (allotropia) from comment #0) > Example file from Word 2016 > Attached document contains a floating table with the first row set as > "Repeat as header row at the top of each page". > This property is imported correctly and the first row is repeated at the top > of the second page, but Word actually does not repeat it. Shouldn't this be "not a bug", as it's MS Office that decides to not show the repeated header in some view modes? In document.xml, for both tables, I see: <w:trPr><w:tblHeader/></w:trPr><w:tc> Miklos, what do you think? [1]: https://support.microsoft.com/en-au/office/repeat-table-header-on-subsequent-pages-2ff677e0-3150-464a-a283-fa52794b4b41
Interesting, my Word 2021 (desktop) also shows the header. Gabor: I would tend to say then this is some oddity in Word 2016, but Word 2021 and LO master agrees here, so this is indeed "not a bug" on our side. If you agree, please close the bug. Thanks.
Hm, it seems it's not just 2016 behaving in funny ways: 2010: Print layout: floating table does not show repeating headers, normal table shows Print preview: same PDF export: same Full screen reading: floating table falls apart, visible as stacked text in a narrow, 600 pages table - rather irrelevant Web layout/Outline/Draft: there are no pages 2013, 2016, 2019: Print layout: floating table does not show repeating headers, normal table shows Read mode: same Print preview: same PDF export: same Web layout/Outline/Draft: there are no pages Whereas Writer shows the floating tables repeating header on the second page. This changes layout quite a bit, especially when one wants to PDF export or print to paper. I don't have a 2021 install, maybe it's somewhat better than all of 2010-19, or maybe it has a new compatibility level, no idea. But I'd say this silly behavior is worth copying :).