public class XpsSaveOptions extends FixedPageSaveOptions
SaveFormat.XPS format.
To learn more, visit the Specify Save Options documentation article.
| Constructor and Description |
|---|
XpsSaveOptions()
Initializes a new instance of this class that can be used to save a document in the
SaveFormat.XPS format. |
XpsSaveOptions(int saveFormat)
Initializes a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
OutlineOptions |
getOutlineOptions()
Allows to specify outline options.
|
int |
getSaveFormat()
Specifies the format in which the document will be saved if this save options object is used.
|
boolean |
getUseBookFoldPrintingSettings()
Gets a boolean value indicating whether the document should be saved using a booklet printing layout, if it is specified via
PageSetup.getMultiplePages() / PageSetup.setMultiplePages(int). |
void |
setSaveFormat(int value)
Specifies the format in which the document will be saved if this save options object is used.
|
void |
setUseBookFoldPrintingSettings(boolean value)
Sets a boolean value indicating whether the document should be saved using a booklet printing layout, if it is specified via
PageSetup.getMultiplePages() / PageSetup.setMultiplePages(int). |
equals, getColorMode, getJpegQuality, getMetafileRenderingOptions, getNumeralFormat, getOptimizeOutput, getPageSavingCallback, getPageSet, setColorMode, setJpegQuality, setMetafileRenderingOptions, setNumeralFormat, setOptimizeOutput, setPageSavingCallback, setPageSetcreateSaveOptions, 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 XpsSaveOptions()
SaveFormat.XPS format.public XpsSaveOptions(int saveFormat)
public int getSaveFormat()
SaveFormat.XPS.getSaveFormat in class SaveOptionsint value. The returned value is one of SaveFormat constants.public void setSaveFormat(int value)
SaveFormat.XPS.setSaveFormat in class SaveOptionsvalue - The corresponding int value. The value must be one of SaveFormat constants.public OutlineOptions getOutlineOptions()
Note that ExpandedOutlineLevels option will not work when saving to XPS.
OutlineOptions value.public boolean getUseBookFoldPrintingSettings()
PageSetup.getMultiplePages() / PageSetup.setMultiplePages(int).
If this option is specified, FixedPageSaveOptions.getPageSet() / FixedPageSaveOptions.setPageSet(com.aspose.words.PageSet) is ignored when saving. This behavior matches MS Word. If book fold printing settings are not specified in page setup, this option will have no effect.
PageSetup.getMultiplePages() / PageSetup.setMultiplePages(int).public void setUseBookFoldPrintingSettings(boolean value)
PageSetup.getMultiplePages() / PageSetup.setMultiplePages(int).
If this option is specified, FixedPageSaveOptions.getPageSet() / FixedPageSaveOptions.setPageSet(com.aspose.words.PageSet) is ignored when saving. This behavior matches MS Word. If book fold printing settings are not specified in page setup, this option will have no effect.
value - A boolean value indicating whether the document should be saved using a booklet printing layout, if it is specified via PageSetup.getMultiplePages() / PageSetup.setMultiplePages(int).