title: IText PDF 5 - Calculate the area left on the bottom of a page
body: <p>Given the following content:</p>
  
  <p><a href="https://i.stack.imgur.com/7Zz3G.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7Zz3G.png" alt="enter image description here"></a></p>
  
  <p>As you can see, the title is currently on page 4 and its content is on page 5. </p>
  
  <p>I have about 25 sections in this document, is there a way of get the area left on a page, to evaluate if my title and some content will be able to fit into it?</p>
  
  <p>If I could assess that, I could push my content to another page using <code>document().newPage()</code></p>