Closed lilith-writes-code closed 4 years ago
Also tried with v3.7.0 rather than the dev branch hash. Seems to still render improperly.
@venison Addressed by #342 . Can you try again with development branch?
I tried both cases and they seem to be working for me locally now. Well done!
Description
There are two somewhat separate items I noticed while trying out different inputs. I tested this against the latest from the development branch, (my go.mod shows: github.com/unidoc/unipdf/v3 v3.6.3-0.20200505001727-9ef2f2769408)
invoice.AddLine
has only a few items (say 5) butinvoice.AddTotalLine
has more (say 15), the invoice lines print in the table property, but all of the subtotal/totals are missing.invoice.Addline
has enough items to force a new page and there are many items ininvoice.AddTotalLine
the next set of content will be bunched up over the totals/subtotals.Expected Behavior
When there are long tables it would be great if the content didn't get lost or did not overlap.
Actual Behavior
Steps to reproduce the behavior:
invoice.AddTotalLine(...
, I did a for loop of 15 and that seemed to be enough.Attachments
Include a self-contained reproducible code snippet and PDF file that demonstrates the issue.
example.zip