Class PlainText
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.interactive.annotation.layout.PlainText
-
public class PlainText extends java.lang.Object
A block of text.A block of text can contain multiple paragraphs which will be treated individually within the block placement.
-
-
Constructor Detail
-
PlainText
public PlainText(java.lang.String textValue)
Construct the text block from a single value. Constructs the text block from a single value splitting into individualPlainText.Paragraph
when a new line character is encountered.- Parameters:
textValue
- the text block string.
-
PlainText
public PlainText(java.util.List<java.lang.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 individualPlainText.Paragraph
.- Parameters:
listValue
- the text block string.
-
-