Package | Description |
---|---|
org.apache.pdfbox.text |
Modifier and Type | Method and Description |
---|---|
private PDFTextStripper.PositionWrapper |
PDFTextStripper.handleLineSeparation(PDFTextStripper.PositionWrapper current,
PDFTextStripper.PositionWrapper lastPosition,
PDFTextStripper.PositionWrapper lastLineStartPosition,
float maxHeightForLine)
handles the line separator for a new line given the specified current and previous TextPositions.
|
Modifier and Type | Method and Description |
---|---|
private PDFTextStripper.PositionWrapper |
PDFTextStripper.handleLineSeparation(PDFTextStripper.PositionWrapper current,
PDFTextStripper.PositionWrapper lastPosition,
PDFTextStripper.PositionWrapper lastLineStartPosition,
float maxHeightForLine)
handles the line separator for a new line given the specified current and previous TextPositions.
|
private void |
PDFTextStripper.isParagraphSeparation(PDFTextStripper.PositionWrapper position,
PDFTextStripper.PositionWrapper lastPosition,
PDFTextStripper.PositionWrapper lastLineStartPosition,
float maxHeightForLine)
tests the relationship between the last text position, the current text position and the last text position that
followed a line separator to decide if the gap represents a paragraph separation.
|
private java.util.regex.Pattern |
PDFTextStripper.matchListItemPattern(PDFTextStripper.PositionWrapper pw)
returns the list item Pattern object that matches the text at the specified PositionWrapper or null if the text
does not match such a pattern.
|