title: How to adapt the margins of a page when the height of the header increases?
body: <p>I am trying to generate pdfs using itext.</p>
  
  <p>I have all my data populated via PdfPtable. 
  along with header(of height 15f) and footer(of height 15f) on each page.
  sample code -- </p>
  
  <pre><code>PdfPTable table1 = new PdfPTable(1);
  table.setTotalWidth(500);
  table.setLockedWidth(true);
  cell = new PdfPCell(new phrase("testing 123"));
  table.addCell(cell);
  table.setSplitLate(false);
  </code></pre>
  
  <p>I have my code(table.setSplitLate(false);) set if the content of my table over flows it goes to next page.</p>
  
  <p>The problem -- I recently received a change request where the headers are going to be 80f or more and depending on that the content\pdf table of the page should be adjusted accordingly.</p>
  
  <p>How do I control the position of the overflown text in the next page. Since it overlaps with the header. please check the screenshot.</p>
  
  <p><img src="https://i.stack.imgur.com/GGrj4.png" alt="Screenshot"></p>