public class XamlFlowSaveOptions extends SaveOptions
SaveFormat.XAML_FLOW or SaveFormat.XAML_FLOW_PACK format.
To learn more, visit the Specify Save Options documentation article.
| Constructor and Description |
|---|
XamlFlowSaveOptions()
Initializes a new instance of this class that can be used to save a document in the
SaveFormat.XAML_FLOW format. |
XamlFlowSaveOptions(int saveFormat)
Initializes a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
IImageSavingCallback |
getImageSavingCallback()
Allows to control how images are saved when a document is saved to XAML.
|
java.lang.String |
getImagesFolder()
Specifies the physical folder where images are saved when exporting a document to XAML format.
|
java.lang.String |
getImagesFolderAlias()
Specifies the name of the folder used to construct image URIs written into an XAML document.
|
int |
getSaveFormat()
Specifies the format in which the document will be saved if this save options object is used.
|
void |
setImageSavingCallback(IImageSavingCallback value)
Allows to control how images are saved when a document is saved to XAML.
|
void |
setImagesFolder(java.lang.String value)
Specifies the physical folder where images are saved when exporting a document to XAML format.
|
void |
setImagesFolderAlias(java.lang.String value)
Specifies the name of the folder used to construct image URIs written into an XAML document.
|
void |
setSaveFormat(int value)
Specifies the format in which the document will be saved if this save options object is used.
|
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 XamlFlowSaveOptions()
SaveFormat.XAML_FLOW format.public XamlFlowSaveOptions(int saveFormat)
public int getSaveFormat()
SaveFormat.XAML_FLOW.getSaveFormat in class SaveOptionsint value. The returned value is one of SaveFormat constants.public void setSaveFormat(int value)
SaveFormat.XAML_FLOW.setSaveFormat in class SaveOptionsvalue - The corresponding int value. The value must be one of SaveFormat constants.public java.lang.String getImagesFolder()
When you save a Document in XAML format, Aspose.Words needs to save all images embedded in the document as standalone files. getImagesFolder() / setImagesFolder(java.lang.String) allows you to specify where the images will be saved and getImagesFolderAlias() / setImagesFolderAlias(java.lang.String) allows to specify how the image URIs will be constructed.
If you save a document into a file and provide a file name, Aspose.Words, by default, saves the images in the same folder where the document file is saved. Use getImagesFolder() / setImagesFolder(java.lang.String) to override this behavior.
If you save a document into a stream, Aspose.Words does not have a folder where to save the images, but still needs to save the images somewhere. In this case, you need to specify an accessible folder in the getImagesFolder() / setImagesFolder(java.lang.String) property or provide custom streams via the getImageSavingCallback() / setImageSavingCallback(com.aspose.words.IImageSavingCallback) event handler.
String value.getImagesFolderAlias(),
setImagesFolderAlias(java.lang.String),
getImageSavingCallback(),
setImageSavingCallback(com.aspose.words.IImageSavingCallback)public void setImagesFolder(java.lang.String value)
When you save a Document in XAML format, Aspose.Words needs to save all images embedded in the document as standalone files. getImagesFolder() / setImagesFolder(java.lang.String) allows you to specify where the images will be saved and getImagesFolderAlias() / setImagesFolderAlias(java.lang.String) allows to specify how the image URIs will be constructed.
If you save a document into a file and provide a file name, Aspose.Words, by default, saves the images in the same folder where the document file is saved. Use getImagesFolder() / setImagesFolder(java.lang.String) to override this behavior.
If you save a document into a stream, Aspose.Words does not have a folder where to save the images, but still needs to save the images somewhere. In this case, you need to specify an accessible folder in the getImagesFolder() / setImagesFolder(java.lang.String) property or provide custom streams via the getImageSavingCallback() / setImageSavingCallback(com.aspose.words.IImageSavingCallback) event handler.
value - The corresponding String value.getImagesFolderAlias(),
setImagesFolderAlias(java.lang.String),
getImageSavingCallback(),
setImageSavingCallback(com.aspose.words.IImageSavingCallback)public java.lang.String getImagesFolderAlias()
When you save a Document in XAML format, Aspose.Words needs to save all images embedded in the document as standalone files. getImagesFolder() / setImagesFolder(java.lang.String) allows you to specify where the images will be saved and getImagesFolderAlias() / setImagesFolderAlias(java.lang.String) allows to specify how the image URIs will be constructed.
If getImagesFolderAlias() / setImagesFolderAlias(java.lang.String) is not an empty string, then the image URI written to XAML will be ImagesFolderAlias +
If getImagesFolderAlias() / setImagesFolderAlias(java.lang.String) is an empty string, then the image URI written to XAML will be ImagesFolder +
If getImagesFolderAlias() / setImagesFolderAlias(java.lang.String) is set to '.' (dot), then the image file name will be written to XAML without path regardless of other options.
String value.getImagesFolder(),
setImagesFolder(java.lang.String),
getImageSavingCallback(),
setImageSavingCallback(com.aspose.words.IImageSavingCallback)public void setImagesFolderAlias(java.lang.String value)
When you save a Document in XAML format, Aspose.Words needs to save all images embedded in the document as standalone files. getImagesFolder() / setImagesFolder(java.lang.String) allows you to specify where the images will be saved and getImagesFolderAlias() / setImagesFolderAlias(java.lang.String) allows to specify how the image URIs will be constructed.
If getImagesFolderAlias() / setImagesFolderAlias(java.lang.String) is not an empty string, then the image URI written to XAML will be ImagesFolderAlias +
If getImagesFolderAlias() / setImagesFolderAlias(java.lang.String) is an empty string, then the image URI written to XAML will be ImagesFolder +
If getImagesFolderAlias() / setImagesFolderAlias(java.lang.String) is set to '.' (dot), then the image file name will be written to XAML without path regardless of other options.
value - The corresponding String value.getImagesFolder(),
setImagesFolder(java.lang.String),
getImageSavingCallback(),
setImageSavingCallback(com.aspose.words.IImageSavingCallback)public IImageSavingCallback getImageSavingCallback()
IImageSavingCallback value.public void setImageSavingCallback(IImageSavingCallback value)
value - The corresponding IImageSavingCallback value.