public class ChmLoadOptions extends LoadOptions
Document object.
To learn more, visit the Specify Load Options documentation article.
| Constructor and Description |
|---|
ChmLoadOptions()
Initializes a new instance of this class with default values.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOriginalFileName()
The name of the CHM file.
|
void |
setOriginalFileName(java.lang.String value)
The name of the CHM file.
|
getBaseUri, getConvertMetafilesToPng, getConvertShapeToOfficeMath, getEncoding, getFontSettings, getLanguagePreferences, getLoadFormat, getMswVersion, getPassword, getPreserveIncludePictureField, getProgressCallback, getResourceLoadingCallback, getTempFolder, getUpdateDirtyFields, getWarningCallback, setBaseUri, setConvertMetafilesToPng, setConvertShapeToOfficeMath, setEncoding, setFontSettings, setLoadFormat, setMswVersion, setPassword, setPreserveIncludePictureField, setProgressCallback, setResourceLoadingCallback, setTempFolder, setUpdateDirtyFields, setWarningCallbackpublic ChmLoadOptions()
public java.lang.String getOriginalFileName()
null.
CHM documents may contain links that reference the same document by file name. Aspose.Words supports such links and normally uses Document.getOriginalFileName() to check whether the file referenced by a link is the file that is being loaded. If a document is loaded from a stream, its original file name should be specified explicitly via this property, since it cannot be determined automatically.
If a CHM document is loaded from a file and a non-null value for this property is specified, the value will take priority over the actual name of the file stored in Document.getOriginalFileName().
String value.public void setOriginalFileName(java.lang.String value)
null.
CHM documents may contain links that reference the same document by file name. Aspose.Words supports such links and normally uses Document.getOriginalFileName() to check whether the file referenced by a link is the file that is being loaded. If a document is loaded from a stream, its original file name should be specified explicitly via this property, since it cannot be determined automatically.
If a CHM document is loaded from a file and a non-null value for this property is specified, the value will take priority over the actual name of the file stored in Document.getOriginalFileName().
value - The corresponding String value.