title: Split overflow text in iText 7 paragraph
body: <p>I have a document where the first page has three sections.  The top and bottom section are required to be on the first page.  The center section has dynamic text.  I am trying to find a way to get all the text that will fit in the center section, set it, and then add the remaining to the continuation second page (if required).</p>
  <p>I have looked at this S.O. <a href="https://stackoverflow.com/questions/46895474/itext-7-split-paragraph">answer</a>, but it seems that it wouldn't allow for the bottom section to be placed where it needs to go.</p>
  <p>Here is what I am trying to do.</p>
  <pre><code>using (var workStream = new MemoryStream())
  {
      using (var pdfWriter = new PdfWriter(workStream))
      {
          using (var pdfDoc = new PdfDocument(pdfWriter))
          {
              var document = new Document(pdfDoc);
              var pageSize = pdfDoc.GetDefaultPageSize();
              var width = pageSize.GetWidth() - document.GetLeftMargin() - document.GetRightMargin();
  
              // *** First Top Section ***
              // ... variable creations removed for brevity ...
              document.Add(paragraph);
              document.Add(table);
  
  
  
              // *** CENTER SECTION ***
              // This section has a required float height of 325f
  
  
  
              // *** Third Bottom Section ***
              // ... table creation removed for brevity ...
              document.Add(table);
  
              // *** Create the second page if needed and add the overflow text ***
  
          }
      }
  }
  </code></pre>