PdfLoadOptions
Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions
All Implemented Interfaces: java.io.Serializable
public final class PdfLoadOptions extends LoadOptions implements Serializable
Options for loading Pdf documents.
Constructors
Constructor | Description |
---|---|
PdfLoadOptions() | Initializes new instance of PdfLoadOptions class. |
Methods
Method | Description |
---|---|
getFormat() | |
getRemoveEmbeddedFiles() | Remove embedded files. |
setRemoveEmbeddedFiles(boolean value) | Remove embedded files. |
getPassword() | Set password to unprotect protected document. |
setPassword(String value) | Set password to unprotect protected document. |
getDefaultFont() | Default font for Pdf document. |
setDefaultFont(String value) | Default font for Pdf document. |
getFontSubstitutes() | Substitute specific fonts when converting Pdf document. |
setFontSubstitutes(List |
Substitute specific fonts when converting Pdf document. |
getHidePdfAnnotations() | Hide annotations in Pdf documents. |
setHidePdfAnnotations(boolean value) | Hide annotations in Pdf documents. |
getFlattenAllFields() | Flatten all the fields of the PDF form. |
setFlattenAllFields(boolean value) | Flatten all the fields of the PDF form. |
PdfLoadOptions()
public PdfLoadOptions()
Initializes new instance of PdfLoadOptions class.
getFormat()
public final PdfFileType getFormat()
Input document file type
Returns: PdfFileType
getRemoveEmbeddedFiles()
public final boolean getRemoveEmbeddedFiles()
Remove embedded files.
Returns: boolean
setRemoveEmbeddedFiles(boolean value)
public final void setRemoveEmbeddedFiles(boolean value)
Remove embedded files.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getPassword()
public final String getPassword()
Set password to unprotect protected document.
Returns: java.lang.String
setPassword(String value)
public final void setPassword(String value)
Set password to unprotect protected document.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
getDefaultFont()
public final String getDefaultFont()
Default font for Pdf document. The following font will be used if a font is missing.
Returns: java.lang.String
setDefaultFont(String value)
public final void setDefaultFont(String value)
Default font for Pdf document. The following font will be used if a font is missing.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
getFontSubstitutes()
public final List<FontSubstitute> getFontSubstitutes()
Substitute specific fonts when converting Pdf document.
Returns: java.util.List<com.groupdocs.conversion.contracts.FontSubstitute>
setFontSubstitutes(List value)
public final void setFontSubstitutes(List<FontSubstitute> value)
Substitute specific fonts when converting Pdf document.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.util.List<com.groupdocs.conversion.contracts.FontSubstitute> |
getHidePdfAnnotations()
public final boolean getHidePdfAnnotations()
Hide annotations in Pdf documents.
Returns: boolean
setHidePdfAnnotations(boolean value)
public final void setHidePdfAnnotations(boolean value)
Hide annotations in Pdf documents.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getFlattenAllFields()
public final boolean getFlattenAllFields()
Flatten all the fields of the PDF form.
Returns: boolean
setFlattenAllFields(boolean value)
public final void setFlattenAllFields(boolean value)
Flatten all the fields of the PDF form.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |