org.pdfbox.util
Class PDFText2HTML
java.lang.Object
org.pdfbox.util.PDFStreamEngine
org.pdfbox.util.PDFTextStripper
org.pdfbox.util.PDFText2HTML
- public class PDFText2HTML
- extends PDFTextStripper
Wrap stripped text in simple HTML, trying to form HTML paragraphs.
Paragraphs broken by pages, columns, or figures are not mended.
- Version:
- $Revision: 1.1 $
- Author:
- jjb - http://www.johnjbarton.com
| Methods inherited from class org.pdfbox.util.PDFTextStripper |
getEndBookmark, getEndPage, getLineSeparator, getPageSeparator, getStartBookmark, getStartPage, getText, getText, getText, getWordSeparator, setEndBookmark, setEndPage, setFirstPageRotation, setGetFirstPageRotationFromThis, setLineSeparator, setPageSeparator, setShouldSeparateByBeads, setSortByPosition, setStartBookmark, setStartPage, setSuppressDuplicateOverlappingText, setWordSeparator, shouldSeparateByBeads, shouldSortByPosition, shouldSuppressDuplicateOverlappingText, writeText, writeText |
| Methods inherited from class org.pdfbox.util.PDFStreamEngine |
getColorSpaces, getCurrentPage, getFonts, getGraphicsStack, getGraphicsState, getGraphicsStates, getResources, getTextLineMatrix, getTextMatrix, getXObjects, processOperator, processStream, processSubStream, setColorSpaces, setFonts, setGraphicsStack, setGraphicsState, setGraphicsStates, setTextLineMatrix, setTextMatrix, showString |
PDFText2HTML
public PDFText2HTML()
throws IOException
- Constructor.
- Throws:
IOException - If there is an error during initialization.
endDocument
public void endDocument(PDDocument pdf)
throws IOException
- Parameters:
pdf - The PDF document that is being processed.
- Throws:
IOException - If an IO error occurs.- See Also:
PDFTextStripper#endDocument( PDDocument )
isSuppressParagraphs
public boolean isSuppressParagraphs()
- Returns:
- Returns the suppressParagraphs.
setSuppressParagraphs
public void setSuppressParagraphs(boolean shouldSuppressParagraphs)
- Parameters:
shouldSuppressParagraphs - The suppressParagraphs to set.
Copyright null EGIZ - E-Government Innovation Center. All Rights Reserved.