| Modifier and Type | Method and Description |
|---|---|
void |
PdfDecoderInt.drawAdditionalObjectsOverPage(int page,
int[] type,
Color[] colors,
Object[] obj) |
void |
PdfDecoderFX.drawAdditionalObjectsOverPage(int page,
int[] type,
Color[] colors,
Object[] obj)
allow user to add grapical content on top of page - for display ONLY
Additional calls will overwrite current settings on page
ONLY works in SINGLE VIEW displaymode
|
void |
PdfDecoderInt.flushAdditionalObjectsOnPage(int page)
allow user to remove all additional grapical content from the page (only for display)
ONLY works in SINGLE VIEW displaymode
|
void |
PdfDecoderFX.flushAdditionalObjectsOnPage(int page)
allow user to remove all additional graphical content from the page (only for display)
ONLY works in SINGLE VIEW displaymode
|
PdfGroupingAlgorithms |
PdfDecoderInt.getGroupingObject()
returns object containing grouped text of last decoded page
- if no page decoded, a Runtime exception is thrown to warn user
Please see org.jpedal.examples.text for example code.
|
PdfGroupingAlgorithms |
PdfDecoderFX.getGroupingObject()
returns object containing grouped text of last decoded page
- if no page decoded, a Runtime exception is thrown to warn user
Please see org.jpedal.examples.text for example code.
|
BufferedImage |
PdfDecoderInt.getPageAsHiRes(int pageIndex) |
BufferedImage |
PdfDecoderFX.getPageAsHiRes(int pageIndex) |
BufferedImage |
PdfDecoderInt.getPageAsHiRes(int pageIndex,
boolean isTransparent) |
BufferedImage |
PdfDecoderFX.getPageAsHiRes(int pageIndex,
boolean isTransparent) |
BufferedImage |
PdfDecoderInt.getPageAsHiRes(int pageIndex,
Map params) |
BufferedImage |
PdfDecoderFX.getPageAsHiRes(int pageIndex,
Map params) |
BufferedImage |
PdfDecoderInt.getPageAsHiRes(int pageIndex,
Map params,
boolean isTransparent) |
BufferedImage |
PdfDecoderFX.getPageAsHiRes(int pageIndex,
Map params,
boolean isTransparent) |
BufferedImage |
PdfDecoderInt.getPageAsImage(int pageIndex) |
BufferedImage |
PdfDecoderFX.getPageAsImage(int pageIndex)
generate BufferedImage of a page in current file
|
BufferedImage |
PdfDecoderInt.getPageAsImage(int pageIndex,
float scaling) |
BufferedImage |
PdfDecoderFX.getPageAsImage(int pageIndex,
float scaling)
generate BufferedImage of a page in current file with the given scaling
|
BufferedImage |
PdfDecoderInt.getPageAsTransparentImage(int pageIndex) |
BufferedImage |
PdfDecoderFX.getPageAsTransparentImage(int pageIndex)
generate BufferedImage of a page in current file
|
PdfData |
PdfDecoderInt.getPdfData() |
PdfData |
PdfDecoderFX.getPdfData()
Access should not generally be required to
this class but used in examples.
|
static BufferedImage |
JDeliHelper.JPEG2000ToRGBImage(byte[] data)
convert byte[] datastream JPEG to an image in RGB
|
static void |
PdfDecoderFX.modifyJPedalParameters(Map values)
allow user to alter certain values in software such as Colour,
|
void |
PdfDecoderInt.modifyNonstaticJPedalParameters(Map values) |
void |
PdfDecoderFX.modifyNonstaticJPedalParameters(Map values)
allow user to alter certain values in software
such as Colour,
|
void |
PdfDecoderInt.openPdfArray(byte[] data) |
void |
PdfDecoderFX.openPdfArray(byte[] data)
routine to open a byte stream containing the PDF file and extract key info
from pdf file so we can decode any pages.
|
void |
PdfDecoderInt.openPdfArray(byte[] data,
String password) |
void |
PdfDecoderFX.openPdfArray(byte[] data,
String password)
routine to open a byte stream containing the PDF file and extract key info
from pdf file so we can decode any pages.
|
void |
FileAccess.openPdfFile() |
void |
PdfDecoderInt.openPdfFile(String filename) |
void |
PdfDecoderFX.openPdfFile(String filename)
routine to open PDF file and extract key info from pdf file so we can
decode any pages.
|
void |
FileAccess.openPdfFile(String filename) |
void |
PdfDecoderInt.openPdfFile(String filename,
Certificate certificate,
PrivateKey key) |
void |
PdfDecoderFX.openPdfFile(String filename,
Certificate certificate,
PrivateKey key)
allow user to open file using Certificate and key
|
void |
PdfDecoderInt.openPdfFile(String filename,
String password) |
void |
PdfDecoderFX.openPdfFile(String filename,
String password)
routine to open PDF file and extract key info from pdf file so we can
decode any pages which also sets password.
|
boolean |
PdfDecoderInt.openPdfFileFromInputStream(InputStream is,
boolean supportLinearized) |
boolean |
PdfDecoderFX.openPdfFileFromInputStream(InputStream is,
boolean supportLinearized)
routine to open PDF file via InputStream and extract key info from pdf file so we
can decode any pages - Does not actually decode the pages themselves -
You must explicitly close any open files with closePdfFile() to Java will not release all the memory |
boolean |
PdfDecoderInt.openPdfFileFromInputStream(InputStream is,
boolean supportLinearized,
String password) |
boolean |
PdfDecoderFX.openPdfFileFromInputStream(InputStream is,
boolean supportLinearized,
String password)
routine to open PDF file via InputStream and extract key info from pdf file so we
can decode any pages - Does not actually decode the pages themselves -
You must explicitly close any open files with closePdfFile() to Java will not release all the memory |
void |
PdfDecoderInt.openPdfFileFromStream(Object filename,
String password) |
void |
PdfDecoderFX.openPdfFileFromStream(Object filename,
String password)
routine to open PDF file and extract key info from pdf file so we can
decode any pages which also sets password.
|
void |
FileAccess.openPdfFileFromStream(Object filename,
String password)
routine to open PDF file and extract key info from pdf file so we can
decode any pages which also sets password.
|
boolean |
PdfDecoderInt.openPdfFileFromURL(String pdfUrl,
boolean supportLinearized) |
boolean |
PdfDecoderFX.openPdfFileFromURL(String pdfUrl,
boolean supportLinearized)
routine to open PDF file via URL and extract key info from pdf file so we
can decode any pages - Does not actually decode the pages themselves -
Also reads the form data - Based on an idea by Peter Jacobsen
You must explicitly close any open files with closePdfFile() so Java will release all the memory |
boolean |
PdfDecoderInt.openPdfFileFromURL(String pdfUrl,
boolean supportLinearized,
String password) |
boolean |
PdfDecoderFX.openPdfFileFromURL(String pdfUrl,
boolean supportLinearized,
String password)
routine to open PDF file via URL and extract key info from pdf file so we
can decode any pages - Does not actually decode the pages themselves -
Also reads the form data - Based on an idea by Peter Jacobsen
You must explicitly close any open files with closePdfFile() so Java will release all the memory |
void |
PdfDecoderInt.setEncryptionPassword(String password) |
void |
PdfDecoderFX.setEncryptionPassword(String password)
set a password for encryption - software will resolve if user or owner
password- calls verifyAccess() from 2.74 so no separate call needed
|
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
GenericColorSpace.JPEG2000ToImage(byte[] data,
int pX,
int pY) |
BufferedImage |
SeparationColorSpace.JPEG2000ToRGBImage(byte[] data,
int w,
int h,
int pX,
int pY,
int d)
convert data stream to srgb image
|
BufferedImage |
ICCColorSpace.JPEG2000ToRGBImage(byte[] data,
int w,
int h,
int pX,
int pY,
int d)
convert byte[] datastream JPEG to an image in RGB
|
BufferedImage |
GenericColorSpace.JPEG2000ToRGBImage(byte[] data,
int w,
int h,
int pX,
int pY,
int d)
convert byte[] datastream JPEG to an image in RGB
|
BufferedImage |
DeviceCMYKColorSpace.JPEG2000ToRGBImage(byte[] data,
int w,
int h,
int pX,
int pY,
int d)
convert byte[] datastream JPEG to an image in RGB
|
| Modifier and Type | Method and Description |
|---|---|
void |
Overlays.printAdditionalObjectsOverAllPages(int[] type,
Color[] colors,
Object[] obj) |
void |
Overlays.printAdditionalObjectsOverPage(int page,
int[] type,
Color[] colors,
Object[] obj) |
void |
Overlays.printOverlays(DynamicVectorRenderer dvr,
int page) |
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
StandardImageIO.JPEG2000ToRGBImage(byte[] data,
int w,
int h,
int pX,
int pY) |
static BufferedImage |
DefaultImageHelper.JPEG2000ToRGBImage(byte[] data,
int w,
int h,
int pX,
int pY) |
| Modifier and Type | Method and Description |
|---|---|
void |
Commands.handleTransferedFile(String file) |
void |
JavaFXCommands.openTransferedFile()
Opens a files that has been dragged onto the viewer
|
protected void |
Commands.openTransferedFile() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
OpenFile.openUpFile(String selectedFile,
Values commonValues,
GUISearchWindow searchFrame,
GUIFactory currentGUI,
PdfDecoderInt decode_pdf,
PropertiesFile properties,
GUIThumbnailPanel thumbnails)
initial method called to open a new PDF
|
| Modifier and Type | Method and Description |
|---|---|
protected static String |
GUIExtractText.extractTextList(PdfDecoderInt decode_pdf,
Values commonValues,
GUIFactory currentGUI,
boolean isXML,
int t_x1,
int t_x2,
int t_y1,
int t_y2) |
protected static String |
GUIExtractText.extractTextRectangle(Values commonValues,
PdfDecoderInt decode_pdf,
GUIFactory currentGUI,
boolean isXML,
int t_x1,
int t_x2,
int t_y1,
int t_y2) |
protected static String |
GUIExtractText.extractTextTable(Values commonValues,
PdfDecoderInt decode_pdf,
boolean isCSV,
int t_x1,
int t_x2,
int t_y1,
int t_y2) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
JavaFXOpenFile.openUpFile(String selectedFile,
Values commonValues,
GUISearchWindow searchFrame,
GUIFactory currentGUI,
PdfDecoderInt decode_pdf,
PropertiesFile properties,
GUIThumbnailPanel thumbnails)
initial method called to open a new PDF
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SingleViewTransferHandler.openFile(String file) |
| Modifier and Type | Class and Description |
|---|---|
class |
PdfFontException
used to handle problems or unexpected behaviour in our Font Renderer
|
class |
PdfSecurityException
used to handle problems with Encryption
|
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
ImageHelper.JPEG2000ToRGBImage(byte[] data,
int w,
int h,
int pX,
int pY) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,String> |
PdfTextExtractionUtils.extractTextAsTable(int x1,
int y1,
int x2,
int y2,
int pageNumber,
boolean isCSV,
boolean keepFontInfo,
boolean keepWidthInfo,
boolean keepAlignmentInfo,
int borderWidth)
Calls various low level merging routines on merge -
|
Map<String,String> |
PdfGroupingAlgorithms.extractTextAsTable(int x1,
int y1,
int x2,
int y2,
int pageNumber,
boolean isCSV,
boolean keepFontInfo,
boolean keepWidthInfo,
boolean keepAlignmentInfo,
int borderWidth)
Calls various low level merging routines on merge -
|
protected List<String> |
PdfTextExtractionUtils.extractTextAsWordlist(int x1,
int y1,
int x2,
int y2,
int page_number,
boolean breakFragments,
String punctuation)
Algorithm to place data from within coordinates to a vector of word, word coords (x1,y1,x2,y2)
|
List<String> |
PdfGroupingAlgorithms.extractTextAsWordlist(int x1,
int y1,
int x2,
int y2,
int page_number,
boolean breakFragments,
String punctuation)
Algorithm to place data from within coordinates to a vector of word, word coords (x1,y1,x2,y2)
|
protected String |
PdfTextExtractionUtils.extractTextInRectangle(int x1,
int y1,
int x2,
int y2,
int page_number,
boolean estimateParagraphs,
boolean breakFragments)
Algorithm to place data from specified coordinates on a page into a String.
|
String |
PdfGroupingAlgorithms.extractTextInRectangle(int x1,
int y1,
int x2,
int y2,
int page_number,
boolean estimateParagraphs,
boolean breakFragments)
Algorithm to place data from specified coordinates on a page into a String.
|
List |
PdfGroupingAlgorithms.findMultipleTermsInRectangle(int x1,
int y1,
int x2,
int y2,
int rotation,
String[] terms,
boolean orderResults,
int searchType,
SearchListener listener)
Algorithm to find multiple text terms in x1,y1,x2,y2 rectangle on page_number.
|
SortedMap |
PdfGroupingAlgorithms.findMultipleTermsInRectangleWithMatchingTeasers(int x1,
int y1,
int x2,
int y2,
int rotation,
String[] terms,
int searchType,
SearchListener listener)
Algorithm to find multiple text terms in x1,y1,x2,y2 rectangle on page_number, with matching teaser.
|
protected float[] |
PdfSearchUtils.findText(int x1,
int y1,
int x2,
int y2,
String[] terms,
int searchType)
Search a particular area with in pdf page currently loaded and return the areas
of the results found as an array of float values.
|
float[] |
PdfGroupingAlgorithms.findText(int x1,
int y1,
int x2,
int y2,
String[] terms,
int searchType)
Search a particular area with in pdf page currently loaded and return the areas
of the results found as an array of float values.
|
protected float[] |
PdfSearchUtils.findText(String[] terms,
int searchType)
Search with in pdf page currently loaded and return the areas
of the results found as an array of float values.
|
float[] |
PdfGroupingAlgorithms.findText(String[] terms,
int searchType)
Search with in pdf page currently loaded and return the areas
of the results found as an array of float values.
|
SortedMap |
PdfGroupingAlgorithms.findTextWithinInAreaWithTeasers(int x1,
int y1,
int x2,
int y2,
int rotation,
String[] terms,
int searchType,
SearchListener listener)
Method to search a specified area on a specified page for a search term.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PdfObjectReader.openPdfFile(byte[] data)
open pdf file using a byte stream - By default files under 16384 bytes are cached to disk
but this can be altered by setting PdfFileReader.alwaysCacheInMemory to a maximimum size or -1 (always keep in memory)
|
void |
PdfObjectReader.openPdfFile(ImageInputStream iis)
open pdf file
Only files allowed (not http) so we can handle Random Access of pdf |
void |
PdfObjectReader.openPdfFile(InputStream in)
open pdf file
Only files allowed (not http) so we can handle Random Access of pdf |
void |
PdfObjectReader.openPdfFile(String filename)
open pdf file
Only files allowed (not http) so we can handle Random Access of pdf |
PdfObject |
PdfFileReader.readReferenceTable(PdfObject linearObj,
PdfFileReader pdfFileReader)
read reference table start to see if new 1.5 type or traditional xref
|
| Modifier and Type | Method and Description |
|---|---|
static int |
CompressedObjects.readCompressedOffsets(int pntr,
int current,
int numbEntries,
int[] fieldSizes,
byte[] xrefs,
Offsets offset,
RandomAccessBuffer pdf_datafile) |
PdfObject |
RefTable.readReferenceTable(PdfObject linearObj,
PdfFileReader currentPdfFile,
ObjectReader objectReader)
read reference table start to see if new 1.5 type or traditional xref
|
| Modifier and Type | Method and Description |
|---|---|
PdfObject |
LinearParser.readHintTable(PdfObjectReader currentPdfFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
PdfResources.setupResources(PdfStreamDecoder current,
boolean alwaysCheck,
PdfObject Resources,
int pageNumber,
PdfObjectReader currentPdfFile)
initialise OC Content and other items before Page decoded but after Resources read
|
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
PDFtoImageConvertor.convert(DecoderResults resultsFromDecode,
int displayRotation,
PdfResources res,
ExternalHandlers externalHandlers,
int renderMode,
PdfPageData pageData,
AcroRenderer formRenderer,
float scaling,
PdfObjectReader currentPdfFile,
int pageIndex,
boolean imageIsTransparent,
String currentPageOffset) |
PdfFont |
PdfFontFactory.createFont(boolean fallbackToArial,
PdfObject pdfObject,
String font_id,
ObjectStore objectStoreStreamRef,
boolean renderPage,
ErrorTracker errorTracker,
boolean isHTML) |
T3Size |
PdfStreamDecoderForPattern.decodePageContent(GraphicsState newGS,
byte[] pageStream)
objects off the page, stitch into a stream and
decode and put into our data object.
|
T3Size |
PrintStreamDecoder.decodePageContent(PdfObject pdfObject) |
T3Size |
PdfStreamDecoder.decodePageContent(PdfObject pdfObject)
objects off the page, stitch into a stream and decode and put into our
data object.
|
T3Size |
T3StreamDecoder.decodePageContent(PdfObject glyphObj,
GraphicsState newGS) |
void |
FormFlattener.drawFlattenedForm(PdfStreamDecoder pdfStreamDecoder,
PdfObject form,
boolean isHTML,
PdfObject AcroRes)
routine to decode an XForm stream
|
String |
PdfFontFactory.getFontSub(String rawFont) |
PdfGroupingAlgorithms |
DecoderOptions.getGroupingObject(int lastPageDecoded,
PdfData textData)
returns object containing grouped text of last decoded page
- if no page decoded, a Runtime exception is thrown to warn user
Please see org.jpedal.examples.text for example code.
|
static void |
DecoderOptions.modifyJPedalParameters(Map values)
Allow the modification of various parameters to customise different aspects of rendering and / or extraction
|
BufferedImage |
PDFtoImageConvertor.pageToImage(boolean imageIsTransparent,
PdfStreamDecoder currentImageDecoder,
float scaling,
PdfObject pdfObject,
AcroRenderer formRenderer) |
void |
PdfStreamDecoder.readResources(PdfObject Resources,
boolean resetList)
read page header and extract page metadata
|
void |
PdfObjectCache.readResources(PdfObject Resources,
boolean resetList,
PdfFileReader objectReader) |
void |
DecoderOptions.set(Map values)
Set options to be used in page rendering, printing and image conversion
|
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
PDFtoImageConvertorFX.pageToImage(boolean imageIsTransparent,
PdfStreamDecoder currentImageDecoder,
float scaling,
PdfObject pdfObject,
AcroRenderer formRenderer) |
| Modifier and Type | Method and Description |
|---|---|
static BufferedImage |
JPeg2000ImageDecoder.decode(int w,
int h,
GenericColorSpace decodeColorData,
byte[] data,
ImageData imageData,
int d) |
int |
DO.processImage(String name,
int dataPointer,
PdfObject XObject)
process image in XObject (XForm handled in PdfStreamDecoder)
|
BufferedImage |
ImageDecoder.processImageXObject(PdfObject XObject,
String image_name,
byte[] objectData,
String details) |
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
PDFtoImageConvertorSwing.pageToImage(boolean imageIsTransparent,
PdfStreamDecoder currentImageDecoder,
float scaling,
PdfObject pdfObject,
AcroRenderer formRenderer) |
| Modifier and Type | Method and Description |
|---|---|
void |
SwingDisplay.drawAdditionalObjectsOverPage(int[] type,
Color[] colors,
Object[] obj) |
void |
FXDisplay.drawAdditionalObjectsOverPage(int[] type,
Color[] colors,
Object[] obj) |
void |
DynamicVectorRenderer.drawAdditionalObjectsOverPage(int[] type,
Color[] colors,
Object[] obj)
Method to add Shape, Text or image to main display on page over PDF - will be flushed on redraw
|
void |
BaseDisplay.drawAdditionalObjectsOverPage(int[] type,
Color[] colors,
Object[] obj) |
Copyright © 2017. All rights reserved.