vandeseer / easytable

Small table drawing library built upon Apache PDFBox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding two RepeatedHeaderTableDrawer to one PDF document

jmizv opened this issue · comments

commented

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?

commented

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 :)