Module org.sejda.sambox
Class PlainText
java.lang.Object
org.sejda.sambox.pdmodel.interactive.annotation.layout.PlainText
A block of text.
A block of text can contain multiple paragraphs which will be treated individually within the block placement.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PlainText
Construct the text block from a single value.Constructs the text block from a single value splitting into individual
PlainText.Paragraphwhen a new line character is encountered.- Parameters:
textValue- the text block string.
-
PlainText
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.
-