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.
|
protected List<Object> |
getEqualityComponents()
Gets equality components.
|
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 String getDefaultFont()
Default font for Pdf document. The following font will be used if a font is missing.
public int getDepth()
Default is 2.
getDepth in interface com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionsprotected List<Object> getEqualityComponents()
ValueObjectGets equality components.
getEqualityComponents in class ValueObjectpublic final boolean getFlattenAllFields()
Flatten all the fields of the PDF form.
public final List<FontSubstitute> getFontSubstitutes()
Substitute specific fonts when converting Pdf document.
public final PdfFileType getFormat()
LoadOptionsInput document file type
getFormat in class LoadOptionspublic final boolean getHidePdfAnnotations()
Hide annotations in Pdf documents.
public final String getPassword()
Set password to unprotect protected document.
public final boolean getRemoveEmbeddedFiles()
Remove embedded files.
public boolean getResetFontFolders()
public boolean isConvertOwned()
Default is false.
isConvertOwned in interface com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionspublic boolean isConvertOwner()
Default is true.
isConvertOwner in interface com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionspublic boolean isPageNumbering()
isPageNumbering in interface com.groupdocs.conversion.options.load.IPageNumberingLoadOptionspublic boolean isRemoveJavascript()
public void setConvertOwned(boolean convertOwned)
Default is false.
public void setConvertOwner(boolean convertOwner)
Default is true.
public final void setDefaultFont(String value)
Default font for Pdf document. The following font will be used if a font is missing.
public void setDepth(int depth)
Default is 2.
public final void setFlattenAllFields(boolean value)
Flatten all the fields of the PDF form.
public final void setFontSubstitutes(List<FontSubstitute> value)
Substitute specific fonts when converting Pdf document.
public final void setHidePdfAnnotations(boolean value)
Hide annotations in Pdf documents.
public void setPageNumbering(boolean isPageNumbering)
setPageNumbering in interface com.groupdocs.conversion.options.load.IPageNumberingLoadOptionspublic final void setPassword(String value)
Set password to unprotect protected document.
public final void setRemoveEmbeddedFiles(boolean value)
Remove embedded files.
public void setRemoveJavascript(boolean removeJavascript)
public void setResetFontFolders(boolean resetFontFolders)
Copyright © 2026 Aspose Pty Ltd. All rights reserved.