Package | Description |
---|---|
org.apache.pdfbox.examples.util |
The packages in this package will show how to use the PDFBox util API.
|
org.apache.pdfbox.pdmodel.documentinterchange.markedcontent |
The marked content package provides a mechanism for modeling marked-content
sequences.
|
org.apache.pdfbox.text | |
org.apache.pdfbox.tools |
Modifier and Type | Method and Description |
---|---|
protected void |
PrintTextColors.processTextPosition(TextPosition text) |
Modifier and Type | Method and Description |
---|---|
protected void |
PrintTextLocations.writeString(String string,
List<TextPosition> textPositions)
Override the default functionality of PDFTextStripper.
|
protected void |
DrawPrintTextLocations.writeString(String string,
List<TextPosition> textPositions)
Override the default functionality of PDFTextStripper.
|
Modifier and Type | Method and Description |
---|---|
void |
PDMarkedContent.addText(TextPosition text)
Adds a text position to the contents.
|
Modifier and Type | Field and Description |
---|---|
protected ArrayList<List<TextPosition>> |
PDFTextStripper.charactersByArticle
The charactersByArticle is used to extract text by article divisions.
|
Modifier and Type | Method and Description |
---|---|
protected List<List<TextPosition>> |
PDFTextStripper.getCharactersByArticle()
Character strings are grouped by articles.
|
Modifier and Type | Method and Description |
---|---|
int |
TextPositionComparator.compare(TextPosition pos1,
TextPosition pos2) |
boolean |
TextPosition.contains(TextPosition tp2)
Determine if this TextPosition logically contains another (i.e. they overlap and should be
rendered on top of each other).
|
void |
TextPosition.mergeDiacritic(TextPosition diacritic)
Merge a single character TextPosition into the current object.
|
protected void |
PDFTextStripperByArea.processTextPosition(TextPosition text)
This will process a TextPosition object and add the text to the list of characters on a page.
|
protected void |
PDFTextStripper.processTextPosition(TextPosition text)
This will process a TextPosition object and add the text to the list of characters on a page.
|
protected void |
PDFMarkedContentExtractor.processTextPosition(TextPosition text)
This will process a TextPosition object and add the
text to the list of characters on a page.
|
protected void |
PDFTextStripper.writeCharacters(TextPosition text)
Write the string in TextPosition to the output stream.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PDFTextStripper.writeString(String text,
List<TextPosition> textPositions)
Write a Java string to the output stream.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PDFText2HTML.writeString(String text,
List<TextPosition> textPositions)
Write a string to the output stream, maintain font state, and escape some HTML characters.
|
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.