PdfLoadOptions
Leave feedback
On this page
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.
| Constructor | Description |
|---|---|
| PdfLoadOptions() | Initializes new instance of PdfLoadOptions class. |
| 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. |
| getResetFontFolders() | Reset font folders before loading document |
| setResetFontFolders(boolean resetFontFolders) |
public PdfLoadOptions()
Initializes new instance of PdfLoadOptions class.
public final PdfFileType getFormat()
Input document file type
Returns: PdfFileType
public final boolean getRemoveEmbeddedFiles()
Remove embedded files.
Returns: boolean
public final void setRemoveEmbeddedFiles(boolean value)
Remove embedded files.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public final String getPassword()
Set password to unprotect protected document.
Returns: java.lang.String
public final void setPassword(String value)
Set password to unprotect protected document.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final String getDefaultFont()
Default font for Pdf document. The following font will be used if a font is missing.
Returns: java.lang.String
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 |
public final List<FontSubstitute> getFontSubstitutes()
Substitute specific fonts when converting Pdf document.
Returns: java.util.List<com.groupdocs.conversion.contracts.FontSubstitute>
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> |
public final boolean getHidePdfAnnotations()
Hide annotations in Pdf documents.
Returns: boolean
public final void setHidePdfAnnotations(boolean value)
Hide annotations in Pdf documents.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public final boolean getFlattenAllFields()
Flatten all the fields of the PDF form.
Returns: boolean
public final void setFlattenAllFields(boolean value)
Flatten all the fields of the PDF form.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public boolean getResetFontFolders()
Reset font folders before loading document
Returns: boolean
public void setResetFontFolders(boolean resetFontFolders)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| resetFontFolders | boolean |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.