public abstract class GenericFormFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
PdfObject |
AcroRes
handle on Resources if exists
|
Object[] |
CO |
PdfObjectReader |
currentPdfFile |
Map<String,Object> |
firstButtons |
protected ActionHandler |
formsActionHandler
handle on AcroRenderer needed for adding mouse listener
|
Map<String,Object> |
groups |
PdfPageData |
pageData |
| Constructor and Description |
|---|
GenericFormFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected BufferedImage |
createPressedLook(Image image)
create a pressed look of the image and return it
|
boolean |
flattenForms()
used in HTML modes to signal if forms rasterized
|
Object |
generateBorderfromForm(FormObject form,
float scaling) |
Object |
getPopupComponent(FormObject form,
PdfObject popupObj,
int cropBoxWith)
public method to allow user to replace Popup with their own implementation
|
void |
indexAllKids()
does nothing (overriden by HTML implementation)
|
static boolean |
isButtonForm(int formType) |
static boolean |
isTextForm(int formType) |
protected String |
readAPimagesForText(FormObject form) |
void |
reset(Object[] resources,
ActionHandler actionHandler,
PdfPageData pageData,
PdfObjectReader currentPdfFile) |
void |
setDVR(DynamicVectorRenderer htmLoutput,
Javascript javaScript) |
void |
setOptions(EnumSet formSettings) |
public PdfObject AcroRes
public Object[] CO
public PdfPageData pageData
public PdfObjectReader currentPdfFile
protected ActionHandler formsActionHandler
public void setDVR(DynamicVectorRenderer htmLoutput, Javascript javaScript)
public void reset(Object[] resources, ActionHandler actionHandler, PdfPageData pageData, PdfObjectReader currentPdfFile)
protected String readAPimagesForText(FormObject form)
protected BufferedImage createPressedLook(Image image)
public void indexAllKids()
public Object getPopupComponent(FormObject form, PdfObject popupObj, int cropBoxWith)
form - popupObj - public Object generateBorderfromForm(FormObject form, float scaling)
public void setOptions(EnumSet formSettings)
public static boolean isTextForm(int formType)
public static boolean isButtonForm(int formType)
public boolean flattenForms()
Copyright © 2017. All rights reserved.