java.lang.Object
org.apache.pdfbox.pdmodel.interactive.annotation.layout.PlainTextFormatter

public class PlainTextFormatter extends Object
TextFormatter to handle plain text formatting for annotation rectangles. The text formatter will take a single value or an array of values which are treated as paragraphs.
  • Method Details

    • format

      public void format() throws IOException
      Format the text block.
      Throws:
      IOException - if there is an error writing to the stream.