Is your feature request related to a problem? Please describe.
The issue I ran into was trying to make sure items fit on the page or manipulate how they would spill onto the next page. To do this, I had to track the dimensions of the page, margins and current estimated height externally.
Describe the solution you'd like
Add getter methods to maroto to get the values currentHeight, documentWidth, documentHeight, availableWidth, availableHeight.
Describe alternatives you've considered
Another useful thing would be to add a checker method to see if the rows you are adding would spill into the next page.
Is your feature request related to a problem? Please describe.
The issue I ran into was trying to make sure items fit on the page or manipulate how they would spill onto the next page. To do this, I had to track the dimensions of the page, margins and current estimated height externally.
Describe the solution you'd like
Add getter methods to maroto to get the values currentHeight, documentWidth, documentHeight, availableWidth, availableHeight.
Describe alternatives you've considered
Another useful thing would be to add a checker method to see if the rows you are adding would spill into the next page.
Additional context