java.lang.Object
org.apache.pdfbox.pdmodel.interactive.form.PlainText

class PlainText extends Object
A block of text.

A block of text can contain multiple paragraphs which will be treated individually within the block placement.

  • Field Details

  • Constructor Details

    • PlainText

      PlainText(String textValue)
      Construct the text block from a single value. Constructs the text block from a single value splitting into individual PlainText.Paragraph when a new line character is encountered.
      Parameters:
      textValue - the text block string.
    • PlainText

      PlainText(List<String> listValue)
      Construct the text block from a list of values. Constructs the text block from a list of values treating each entry as an individual PlainText.Paragraph.
      Parameters:
      listValue - the text block string.
  • Method Details