fpdf2 icon indicating copy to clipboard operation
fpdf2 copied to clipboard

print headers on page break

Open shoaib-moeen opened this issue 1 year ago • 3 comments

shoaib-moeen avatar May 01 '24 19:05 shoaib-moeen

Hi @shoaib-moeen

Note that the table headers already split over page breaks:

  • https://github.com/py-pdf/fpdf2/blob/master/test/table/test_table.py#L333
  • https://github.com/py-pdf/fpdf2/blob/master/test/table/table_with_single_top_line_layout_and_page_break.pdf

Could you please provide a minimal code snippet reproducing the problem that you are facing? 🙂

Lucas-C avatar May 01 '24 19:05 Lucas-C

Hi @Lucas-C ,

Problem was when a single row breaks the page due to very long text it didn't print headers on the next page. It is related to issue #1142 . For now my usage was really limited to the headers not being displayed.

shoaib-moeen avatar May 01 '24 20:05 shoaib-moeen

Problem was when a single row breaks the page due to very long text it didn't print headers on the next page. It is related to issue #1142 . For now my usage was really limited to the headers not being displayed.

Alright. Could you maybe provide some minimal code reproducing your problem? 🙂 cf. https://stackoverflow.com/help/minimal-reproducible-example Such minimal code will be need to craft a unit test, which is mandatory as part of Pull Requests altering fpdf2 source code.

Lucas-C avatar May 03 '24 12:05 Lucas-C

Hi!

Just a quick update about this: @shoaib-moeen are you still willing to work on this feature? If you don't, or do not have time for this anymore, that is totally fine! 🙂 If so we will just close this PR.

Also, if you need feedback or help on this PR, please tell us! 🙂

Lucas-C avatar May 24 '24 09:05 Lucas-C

Closing this PR for now. Please comment there if you want to reopen it.

Lucas-C avatar Jun 13 '24 05:06 Lucas-C