public class ExternalHandlers extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
throwMissingCIDError |
| Constructor and Description |
|---|
ExternalHandlers() |
ExternalHandlers(GUIModes mode) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExternalHandler(Object newHandler,
int type)
allows external helper classes to be added to JPedal to alter default functionality -
not part of the API and should be used in conjunction with IDRsolutions only
if Options.FormsActionHandler is the type then the newHandler should be of the form org.jpedal.objects.acroforms.ActionHandler |
void |
addHandlers(PdfStreamDecoder streamDecoder) |
static BufferedImage |
decode(PdfObject pdfObject,
PdfObjectReader currentPdfFile,
PdfObject XObject,
int subtype,
int width,
int height,
int offsetImage,
float pageScaling) |
void |
dispose() |
PDFtoImageConvertor |
getConverter(float multiplyer,
DecoderOptions options) |
Object |
getExternalHandler(int type)
allows external helper classes to be accessed if needed - also allows user to access SwingGUI if running
full Viewer package - not all Options available to get - please contact IDRsolutions if you are looking to
use
|
ActionHandler |
getFormActionHandler()
Allow user to access Forms Action Handler object if needed
|
AcroRenderer |
getFormRenderer()
Allow user to access Forms renderer object if needed
|
static JavaFXSupport |
getFXHandler() |
Javascript |
getJavaScript()
Allow user to access javascript object if needed
|
GUIModes |
getMode()
show if we are Swing or JavaFX
|
FormFactory |
getUserFormFactory() |
static boolean |
isITextPresent() |
boolean |
isJavaFX() |
static boolean |
isULCPresent() |
static boolean |
isXFAPresent() |
void |
openPdfFile(ExpressionEngine userExpressionEngine) |
void |
setDVR(FileAccess fileAccess) |
void |
setJavaScript(Javascript javascript) |
void |
setMode(GUIModes mode)
show if we are Swing or JavaFX
|
void |
useXFA(boolean useXFA)
allow user to explicitly disable XFAsupport in XFA version
Otherwise should not be used
|
public ExternalHandlers()
public ExternalHandlers(GUIModes mode)
public static boolean isXFAPresent()
public static boolean isITextPresent()
public static JavaFXSupport getFXHandler()
public static boolean isULCPresent()
public void addHandlers(PdfStreamDecoder streamDecoder)
public void addExternalHandler(Object newHandler, int type)
newHandler - type - public Object getExternalHandler(int type)
type - public Javascript getJavaScript()
public FormFactory getUserFormFactory()
public void dispose()
public AcroRenderer getFormRenderer()
public ActionHandler getFormActionHandler()
public void setJavaScript(Javascript javascript)
public void useXFA(boolean useXFA)
useXFA - public void openPdfFile(ExpressionEngine userExpressionEngine)
public static BufferedImage decode(PdfObject pdfObject, PdfObjectReader currentPdfFile, PdfObject XObject, int subtype, int width, int height, int offsetImage, float pageScaling)
public void setMode(GUIModes mode)
public GUIModes getMode()
public boolean isJavaFX()
public void setDVR(FileAccess fileAccess)
public PDFtoImageConvertor getConverter(float multiplyer, DecoderOptions options)
Copyright © 2017. All rights reserved.