public class WordProcessingLoadOptions extends LoadOptions implements Serializable
Options for loading WordProcessing documents.
Constructor and Description |
---|
WordProcessingLoadOptions()
Initializes new instance of
WordProcessingLoadOptions class. |
Modifier and Type | Method and Description |
---|---|
boolean |
getAutoFontSubstitution()
If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts.
|
WordProcessingBookmarksOptions |
getBookmarkOptions()
Bookmarks options
|
String |
getDefaultFont()
Default font for Words document.
|
List<FontSubstitute> |
getFontSubstitutes()
Substitute specific fonts when converting Words document.
|
WordProcessingFileType |
getFormat()
Input document file type
|
boolean |
getHideComments()
Hide comments.
|
boolean |
getHideWordTrackedChanges()
Hide markup and track changes for Word documents.
|
String |
getPassword()
Set password to unprotect protected document.
|
boolean |
isEmbedTrueTypeFonts()
If EmbedTrueTypeFonts is true, GroupDocs.Conversion embed true type fonts in the output document.
|
boolean |
isPreserveFontFields()
Specifies whether to preserve Microsoft Word form fields as form fields in PDF or convert them to text.
|
boolean |
isUpdateFields()
Update fields after loading.
|
boolean |
isUpdatePageLayout()
Update page layout after loading.
|
boolean |
isUseTextShaper()
Specifies whether to use a text shaper for better kerning display.
|
void |
setAutoFontSubstitution(boolean value)
If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts.
|
void |
setBookmarkOptions(WordProcessingBookmarksOptions value)
Bookmarks options
|
void |
setDefaultFont(String value)
Default font for Words document.
|
void |
setEmbedTrueTypeFonts(boolean embedTrueTypeFonts) |
void |
setFontSubstitutes(List<FontSubstitute> value)
Substitute specific fonts when converting Words document.
|
void |
setHideComments(boolean value)
Hide comments.
|
void |
setHideWordTrackedChanges(boolean value)
Hide markup and track changes for Word documents.
|
void |
setPassword(String value)
Set password to unprotect protected document.
|
void |
setPreserveFontFields(boolean preserveFontFields)
Sets preserveFontFields flag
|
void |
setUpdateFields(boolean updateFields) |
void |
setUpdatePageLayout(boolean updatePageLayout) |
void |
setUseTextShaper(boolean isUseTextShaper)
Specifies whether to use a text shaper for better kerning display.
|
setFormat
equals, equals, hashCode, op_Equality, op_Inequality
public WordProcessingLoadOptions()
Initializes new instance of WordProcessingLoadOptions
class.
public final WordProcessingFileType getFormat()
LoadOptions
Input document file type
getFormat
in class LoadOptions
public final String getDefaultFont()
Default font for Words document. The following font will be used if a font is missing.
public final void setDefaultFont(String value)
Default font for Words document. The following font will be used if a font is missing.
public final boolean getAutoFontSubstitution()
If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True.
public final void setAutoFontSubstitution(boolean value)
If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True.
public final List<FontSubstitute> getFontSubstitutes()
Substitute specific fonts when converting Words document.
public boolean isEmbedTrueTypeFonts()
public void setEmbedTrueTypeFonts(boolean embedTrueTypeFonts)
public boolean isUpdatePageLayout()
public void setUpdatePageLayout(boolean updatePageLayout)
public boolean isUpdateFields()
public void setUpdateFields(boolean updateFields)
public final void setFontSubstitutes(List<FontSubstitute> value)
Substitute specific fonts when converting Words document.
public final String getPassword()
Set password to unprotect protected document.
public final void setPassword(String value)
Set password to unprotect protected document.
public final boolean getHideWordTrackedChanges()
Hide markup and track changes for Word documents.
public final void setHideWordTrackedChanges(boolean value)
Hide markup and track changes for Word documents.
public final boolean getHideComments()
Hide comments.
public final void setHideComments(boolean value)
Hide comments.
public final WordProcessingBookmarksOptions getBookmarkOptions()
Bookmarks options
public final void setBookmarkOptions(WordProcessingBookmarksOptions value)
Bookmarks options
public boolean isPreserveFontFields()
public void setPreserveFontFields(boolean preserveFontFields)
preserveFontFields
- preserve Microsoft Word form fields as form fields in PDF or convert them to textpublic boolean isUseTextShaper()
public void setUseTextShaper(boolean isUseTextShaper)
isUseTextShaper
- isUseTextShaper flag