Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding two RepeatedHeaderTableDrawer to one PDF document #144

Open
jmizv opened this issue Jun 3, 2022 · 1 comment
Open

Adding two RepeatedHeaderTableDrawer to one PDF document #144

jmizv opened this issue Jun 3, 2022 · 1 comment

Comments

@jmizv
Copy link

jmizv commented Jun 3, 2022

Hi!
I've checked the test at TableOverSeveralPagesTest and it looks fine. I find that all examples are using only one table in the doc. But what if I want to add/draw more than one table on one document? What's the best approach to not overlap the two tables?

@jmizv
Copy link
Author

jmizv commented Jun 4, 2022

So I my use case is that I have a front page where I draw three small tables which always fit on that single page. From the second page onward there is a large table that might expand to the next pages. But I fail to get it right.

I helped myself with the PDFMergerUtility and concatenated my two ByteArrayOutputStreams but I hope there's a better way :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant