public final class PdfLoadOptions extends LoadOptions implements Serializable, com.groupdocs.conversion.options.load.IPageNumberingLoadOptions
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.
|
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 |
isPageNumbering()
Enable or disable generation of page numbering in converted document.
|
boolean |
isRemoveJavascript()
Gets the Remove JavaScript flag
|
void |
setDefaultFont(String value)
Default font for Pdf document.
|
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)
Copyright © 2026. All rights reserved.