public final class MarkupSection extends Object
Represents a markup section - the rectangular region of a page that contains text and can be visually divided from another text blocks.
Modifier and Type | Method and Description |
---|---|
List<TextFragment> |
getFragments()
Collection of not empty
TextFragment objects that are inside the section. |
List<MarkupParagraph> |
getParagraphs()
Collection of
MarkupParagraph objects that are inside the section. |
Rectangle |
getRectangle()
Section rectangle
|
public Rectangle getRectangle()
Section rectangle
public List<TextFragment> getFragments()
Collection of not empty TextFragment
objects that are inside the section.
TextFragment
object provides access to the search occurrence text, text properties, and allows to edit text and change the text state (font, font size, color etc).public List<MarkupParagraph> getParagraphs()
Collection of MarkupParagraph
objects that are inside the section.