public class CosOpenOptions extends Object
CosDocument
when it is created.| Modifier and Type | Method and Description |
|---|---|
CustomFilterRegistry |
getCustomFilterRegistry()
Return the FilterRegistry that contains custom stream filter
implementations
|
Locale |
getDocLocale() |
boolean |
getDoNotEmbedFonts() |
PDFFontSet |
getFontSet() |
boolean |
getLateRepairEnabled() |
List |
getRegisteredFilters()
Get list of registered custom filters
|
boolean |
getRepairEnabled() |
void |
registerCustomFilters(List customFilters)
Supply lists that contains custom stream filter implementations for encoding and decoding.
|
void |
setByteWriterFactory(ByteWriterFactory byteWriterFactory)
Set the
ByteWriterFactory to be used. |
void |
setDocLocale(Locale docLocale)
The primary locale of the document.
|
void |
setDoNotEmbedFonts(boolean mDoNotEmbedFonts) |
void |
setEofValue(long eofValue) |
void |
setFontSet(PDFFontSet fontSet)
The font set that should be used while processing the document.
|
void |
setLateRepairEnabled(boolean enableLateRepair)
Set/get state of late repair enable boolean, default is true
|
void |
setNoPreloadXRef(boolean noPreloadXRef) |
void |
setRepairEnabled(boolean enableRepair)
Set/get state of repair enable boolean, default is true
|
void |
setSaveInPlace(boolean saveInPlace)
Enables the document to be incrementally saved to its current stream.
|
void |
setSkipCorruptObjects(boolean skipCorruptObjects)
This method sets true if the corrupted objects are to be skipped while parsing the document.
|
boolean |
skipCorruptObjects()
This method returns true if the corrupted objects shall be skipped while parsing the document.
|
public boolean skipCorruptObjects()
CosNull.public void setSkipCorruptObjects(boolean skipCorruptObjects)
CosNull.skipCorruptObjects - public void setByteWriterFactory(ByteWriterFactory byteWriterFactory)
ByteWriterFactory to be used. Note that this
ByteWriterFactory should only be used by one document.byteWriterFactory - the factory object for creating ByteWriterspublic void setEofValue(long eofValue)
eofValue - The eofValue to set.public void setSaveInPlace(boolean saveInPlace)
saveInPlace - true if in-place incremental save should be allowedpublic void setNoPreloadXRef(boolean noPreloadXRef)
noPreloadXRef - true if preloading of the main XRef section is disabledpublic Locale getDocLocale()
public void setDocLocale(Locale docLocale)
public PDFFontSet getFontSet()
public void setFontSet(PDFFontSet fontSet)
public List getRegisteredFilters()
public void registerCustomFilters(List customFilters)
customFilters - - list of custom filters to be used during stream encoding or decoding.public CustomFilterRegistry getCustomFilterRegistry()
public void setRepairEnabled(boolean enableRepair)
public boolean getRepairEnabled()
public void setLateRepairEnabled(boolean enableLateRepair)
public boolean getLateRepairEnabled()
public boolean getDoNotEmbedFonts()
public void setDoNotEmbedFonts(boolean mDoNotEmbedFonts)
Copyright © 2010 - 2020 Adobe. All Rights Reserved