public class RtfSaveOptions extends SaveOptions
SaveFormat.RTF format.
To learn more, visit the Specify Save Options documentation article.
| Modifier and Type | Method and Description |
|---|---|
boolean |
getExportCompactSize()
Allows to make output RTF documents smaller in size, but if they contain RTL (right-to-left) text, it will not be displayed correctly.
|
boolean |
getExportImagesForOldReaders()
Specifies whether the keywords for "old readers" are written to RTF or not.
|
int |
getSaveFormat()
Specifies the format in which the document will be saved if this save options object is used.
|
boolean |
getSaveImagesAsWmf()
When true all images will be saved as WMF.
|
void |
setExportCompactSize(boolean value)
Allows to make output RTF documents smaller in size, but if they contain RTL (right-to-left) text, it will not be displayed correctly.
|
void |
setExportImagesForOldReaders(boolean value)
Specifies whether the keywords for "old readers" are written to RTF or not.
|
void |
setSaveFormat(int value)
Specifies the format in which the document will be saved if this save options object is used.
|
void |
setSaveImagesAsWmf(boolean value)
When true all images will be saved as WMF.
|
createSaveOptions, createSaveOptions, getAllowEmbeddingPostScriptFonts, getDefaultTemplate, getDml3DEffectsRenderingMode, getDmlEffectsRenderingMode, getDmlRenderingMode, getExportGeneratorName, getImlRenderingMode, getMemoryOptimization, getPrettyFormat, getProgressCallback, getTempFolder, getUpdateCreatedTimeProperty, getUpdateFields, getUpdateLastPrintedProperty, getUpdateLastSavedTimeProperty, getUpdateSdtContent, getUseAntiAliasing, getUseHighQualityRendering, setAllowEmbeddingPostScriptFonts, setDefaultTemplate, setDml3DEffectsRenderingMode, setDmlEffectsRenderingMode, setDmlRenderingMode, setExportGeneratorName, setImlRenderingMode, setMemoryOptimization, setPrettyFormat, setProgressCallback, setTempFolder, setUpdateCreatedTimeProperty, setUpdateFields, setUpdateLastPrintedProperty, setUpdateLastSavedTimeProperty, setUpdateSdtContent, setUseAntiAliasing, setUseHighQualityRenderingpublic int getSaveFormat()
SaveFormat.RTF.getSaveFormat in class SaveOptionsint value. The returned value is one of SaveFormat constants.public void setSaveFormat(int value)
SaveFormat.RTF.setSaveFormat in class SaveOptionsvalue - The corresponding int value. The value must be one of SaveFormat constants.public boolean getExportCompactSize()
false.
If the document that you want to convert to RTF using Aspose.Words does not contain right-to-left text in languages like Arabic, then you can set this option to true to reduce the size of the resulting RTF.
boolean value.public void setExportCompactSize(boolean value)
false.
If the document that you want to convert to RTF using Aspose.Words does not contain right-to-left text in languages like Arabic, then you can set this option to true to reduce the size of the resulting RTF.
value - The corresponding boolean value.public boolean getExportImagesForOldReaders()
true.
"Old readers" are pre-Microsoft Word 97 applications and also WordPad. When this option is true Aspose.Words writes additional RTF keywords. These keywords allow the document to be displayed correctly when opened in an "old reader" application, but can significantly increase the size of the document.
If you set this option to false, then only images in WMF, EMF and BMP formats will be displayed in "old readers".
boolean value.public void setExportImagesForOldReaders(boolean value)
true.
"Old readers" are pre-Microsoft Word 97 applications and also WordPad. When this option is true Aspose.Words writes additional RTF keywords. These keywords allow the document to be displayed correctly when opened in an "old reader" application, but can significantly increase the size of the document.
If you set this option to false, then only images in WMF, EMF and BMP formats will be displayed in "old readers".
value - The corresponding boolean value.public boolean getSaveImagesAsWmf()
boolean value.public void setSaveImagesAsWmf(boolean value)
value - The corresponding boolean value.