vandeseer / easytable

Small table drawing library built upon Apache PDFBox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Row.getHeight() returns incorrect value when rowspan is involved

grasshopper7 opened this issue · comments

The getHeight() method which is used in the drawer to calculate row fitment and repeat header height returns false values if there is a row span involved.

The current getHeight() method filters out the rowspan greater than 1 which messes up the returned height.

protected void determinePageToStartTable(float yOffsetOnNewPage) {

private float calculateHeightForFirstRows() {

Can you provide a minimum working example that illustrates the case?
I see your point though. But the row spanning stuff is not as simple as it may look at first glance.