public final class PdfLoadOptions extends LoadOptions implements Serializable, com.groupdocs.conversion.options.load.IPageNumberingLoadOptions, com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptions
Options for loading Pdf documents.
| Constructor and Description |
|---|
PdfLoadOptions()
Initializes new instance of
PdfLoadOptions class. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultFont()
Default font for Pdf document.
|
int |
getDepth()
Maximum depth for processing owned documents.
|
boolean |
getFlattenAllFields()
Flatten all the fields of the PDF form.
|
List<FontSubstitute> |
getFontSubstitutes()
Substitute specific fonts when converting Pdf document.
|
PdfFileType |
getFormat()
Input document file type
|
boolean |
getHidePdfAnnotations()
Hide annotations in Pdf documents.
|
String |
getPassword()
Set password to unprotect protected document.
|
boolean |
getRemoveEmbeddedFiles()
Remove embedded files.
|
boolean |
getResetFontFolders()
Reset font folders before loading document.
|
boolean |
isConvertOwned()
Specifies whether owned documents should be converted.
|
boolean |
isConvertOwner()
Specifies whether the owner document should be converted.
|
boolean |
isPageNumbering()
Enable or disable generation of page numbering
in converted document.
|
boolean |
isRemoveJavascript()
Gets the Remove JavaScript flag.
|
void |
setConvertOwned(boolean convertOwned)
Specifies whether owned documents should be converted.
|
void |
setConvertOwner(boolean convertOwner)
Specifies whether the owner document should be converted.
|
void |
setDefaultFont(String value)
Default font for Pdf document.
|
void |
setDepth(int depth)
Maximum depth for processing owned documents.
|
void |
setFlattenAllFields(boolean value)
Flatten all the fields of the PDF form.
|
void |
setFontSubstitutes(List<FontSubstitute> value)
Substitute specific fonts when converting Pdf document.
|
void |
setHidePdfAnnotations(boolean value)
Hide annotations in Pdf documents.
|
void |
setPageNumbering(boolean isPageNumbering) |
void |
setPassword(String value)
Set password to unprotect protected document.
|
void |
setRemoveEmbeddedFiles(boolean value)
Remove embedded files.
|
void |
setRemoveJavascript(boolean removeJavascript)
Sets the Remove JavaScript flag.
|
void |
setResetFontFolders(boolean resetFontFolders) |
setFormatequals, equals, hashCode, op_Equality, op_Inequalitypublic PdfLoadOptions()
Initializes new instance of PdfLoadOptions class.
public final PdfFileType getFormat()
LoadOptionsInput document file type
getFormat in class LoadOptionspublic final boolean getRemoveEmbeddedFiles()
Remove embedded files.
public final void setRemoveEmbeddedFiles(boolean value)
Remove embedded files.
public final String getPassword()
Set password to unprotect protected document.
public final void setPassword(String value)
Set password to unprotect protected document.
public final String getDefaultFont()
Default font for Pdf document. The following font will be used if a font is missing.
public final void setDefaultFont(String value)
Default font for Pdf document. The following font will be used if a font is missing.
public final List<FontSubstitute> getFontSubstitutes()
Substitute specific fonts when converting Pdf document.
public final void setFontSubstitutes(List<FontSubstitute> value)
Substitute specific fonts when converting Pdf document.
public final boolean getHidePdfAnnotations()
Hide annotations in Pdf documents.
public final void setHidePdfAnnotations(boolean value)
Hide annotations in Pdf documents.
public final boolean getFlattenAllFields()
Flatten all the fields of the PDF form.
public final void setFlattenAllFields(boolean value)
Flatten all the fields of the PDF form.
public boolean getResetFontFolders()
public void setResetFontFolders(boolean resetFontFolders)
public boolean isPageNumbering()
isPageNumbering in interface com.groupdocs.conversion.options.load.IPageNumberingLoadOptionspublic void setPageNumbering(boolean isPageNumbering)
setPageNumbering in interface com.groupdocs.conversion.options.load.IPageNumberingLoadOptionspublic boolean isRemoveJavascript()
public void setRemoveJavascript(boolean removeJavascript)
public boolean isConvertOwner()
Default is true.
isConvertOwner in interface com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionspublic void setConvertOwner(boolean convertOwner)
Default is true.
public boolean isConvertOwned()
Default is false.
isConvertOwned in interface com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionspublic void setConvertOwned(boolean convertOwned)
Default is false.
public int getDepth()
Default is 2.
getDepth in interface com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionspublic void setDepth(int depth)
Default is 2.
Copyright © 2026. All rights reserved.