birt icon indicating copy to clipboard operation
birt copied to clipboard

Page break issue with tables in PDF emitter

Open hvbtup opened this issue 2 years ago • 4 comments

Sometimes, depending on the data (or probably depending on the exact y positions and heights), we see that in the PDF emitter output (created with RunAndRenderTask), page breaks in tables do not work as expected:

  • The bottom border line of the cells in the last row of page 1 is not rendered.
  • The table header row is missing on page 2.

See the following picture:

grafik

Expected output:

  • A line below the last row on page 1.
  • The table header on page 2.

As in this picture created from slightly different data:

grafik

The table itself is referenced from a library.

grafik

It is just a header row and a detail row. The first cell of the detail row contains a dynamic text item and a list item containing another dynamic text item. Both dynamic text items contain HTML. So nothing special here, from a layout point of view. The cells all have a border: grafik

Unfortunately I cannot deliver a simple, self-contained test case ATM.

The PDF is created with the BIRT BIRT 4.3.0 runtime.

I'll test with the current BIRT trunk and update the results here.

hvbtup avatar Jan 24 '23 08:01 hvbtup

I'll test with the current BIRT trunk and update the results here.

The issue is highly depending on the y-position. I cannot reproduce it in our environment. So I'd have to create a report with exactly the same data shown, but independent of the database. This will take time.

hvbtup avatar Jan 27 '23 08:01 hvbtup

Update: I was not able to create a minimal example.

hvbtup avatar Jun 08 '23 11:06 hvbtup

@hvbtup Hi, I have the same issue. Have you found a solution to the problem?

antonidass avatar Sep 10 '24 08:09 antonidass

No, unfortunately this is still an open issue.

hvbtup avatar Sep 16 '24 09:09 hvbtup