public class ParserOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
protected StructuredContentHandler |
contentHandler |
protected GlyphTracker |
customGlyphTracker |
Shape |
defaultClip
clip if we render directly
|
protected boolean |
generateGlyphOnRender |
boolean |
hasYCCKimages
flag to show if YCCK images
|
boolean |
imagesProcessedFully |
protected boolean |
isPageContent |
Set<Integer> |
layerClips |
PdfLayerList |
layers |
protected boolean |
renderPage |
protected float |
samplingUsed |
| Constructor and Description |
|---|
ParserOptions() |
public boolean hasYCCKimages
public boolean imagesProcessedFully
public PdfLayerList layers
protected boolean isPageContent
protected boolean renderPage
protected float samplingUsed
protected StructuredContentHandler contentHandler
public Shape defaultClip
protected boolean generateGlyphOnRender
protected GlyphTracker customGlyphTracker
public void setName(String name)
public GlyphTracker getCustomGlyphTracker()
public void setCustomGlyphTracker(GlyphTracker customGlyphTracker)
public void setXFA(boolean isXFA)
public boolean isPageContent()
public boolean isRenderPage()
public void init(boolean isPageContent,
boolean renderPage,
int renderMode,
int extractionMode,
boolean isPrinting,
boolean useJavaFX)
public boolean isRenderClipText()
public boolean isRenderText()
public void isPrinting(boolean printing)
public boolean isPrinting()
public boolean isTextColorExtracted()
public boolean isTextExtracted()
public int getRenderMode()
public int getExtractionMode()
public boolean useJavaFX()
public boolean isXFA()
public boolean generateGlyphOnRender()
public void setGenerateGlyphOnRender(boolean value)
public int getTextPrint()
public void setTextPrint(int value)
public StructuredContentHandler getContentHandler()
public void setContentHandler(StructuredContentHandler contentHandler)
public boolean renderDirectly()
public void setSamplingUsed(float scaleY)
public String getFileName()
public int getPageNumber()
public void setPageNumber(int value)
public void setCustomShapeTracker(ShapeTracker obj)
public ShapeTracker getCustomShapeTraker()
public void setFlattenedForm(boolean b)
public boolean isFlattenedForm()
public void setOffsets(float x,
float y)
public float getflattenX()
public float getflattenY()
public boolean isLayerVisible()
public void setPdfLayerList(PdfLayerList layers)
public int getLayerLevel()
public void setLayerLevel(int layerLevel)
layerLevel - the layerLevel to setpublic void setLayerVisibility(Set<Integer> layerVisibility)
layerVisibility - the layerVisibility to setpublic void setIsLayerVisible(boolean isLayerVisible)
isLayerVisible - the isLayerVisible to setpublic void isType3Font(boolean isType3Font)
public boolean isType3Font()
public boolean isFinalImagesExtracted()
public boolean isRawImagesExtracted()
public boolean renderImages()
public boolean imagesNeeded()
public boolean createScaledVersion()
public boolean isClippedImagesExtracted()
Copyright © 2017. All rights reserved.