Class PlainTextFormatter
- java.lang.Object
-
- com.tom_roush.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlainTextFormatter.Builder
-
-
-
Method Detail
-
format
public void format() throws IOExceptionFormat the text block.- Throws:
IOException- if there is an error writing to the stream.
-
-