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

Multiple header rows #30

Merged
merged 2 commits into from
Mar 12, 2016
Merged

Multiple header rows #30

merged 2 commits into from
Mar 12, 2016

Conversation

Frulenzo
Copy link
Collaborator

@Frulenzo Frulenzo commented Mar 9, 2016

I just added implemention for multiple header rows in the table. This should also fix the Issue #29 but with two important updates:

  • getHeaderAndDataHeight() method now return table height (overall cells heights) but doesn't acknowledge possible page break so please use with caution.
  • getMinimumHeight() method calculates minimal table height that needs to be drawn on the next page if page break occurs so it is used to check whether the table shall start at the next page (in case the first data row does not fit on the current page).

I added also another test case SampleTest4() in TableTest class for showing multiple header rows case.

@dhorions dhorions merged commit 4e9edb0 into dhorions:master Mar 12, 2016
@Frulenzo
Copy link
Collaborator Author

Thanks for merging 👍

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

Successfully merging this pull request may close these issues.

2 participants