aspose.words.saving module

The aspose.words.saving module provides classes and enumerations that allow to specify additional options for saving or converting documents.

Classes

Class Description
BookmarksOutlineLevelCollection A collection of individual bookmarks outline level. To learn more, visit the Working with Bookmarks documentation article.
CssSavingArgs Provides data for the ICssSavingCallback.css_saving() event. To learn more, visit the Save a Document documentation article.
DocSaveOptions Can be used to specify additional options when saving a document into the SaveFormat.DOC or SaveFormat.DOT format. To learn more, visit the Specify Save Options documentation article.
DocumentPartSavingArgs Provides data for the IDocumentPartSavingCallback.document_part_saving() callback. To learn more, visit the Save a Document documentation article.
DocumentSavingArgs An argument passed into IDocumentSavingCallback.notify(). To learn more, visit the Save a Document documentation article.
DownsampleOptions Allows to specify downsample options. To learn more, visit the Save a Document documentation article.
FixedPageSaveOptions Contains common options that can be specified when saving a document into fixed page formats (PDF, XPS, images etc). To learn more, visit the Specify Save Options documentation article.
FontSavingArgs Provides data for the IFontSavingCallback.font_saving() event. To learn more, visit the Save a Document documentation article.
HtmlFixedSaveOptions Can be used to specify additional options when saving a document into the SaveFormat.HTML_FIXED format. To learn more, visit the Specify Save Options documentation article.
HtmlSaveOptions Can be used to specify additional options when saving a document into the SaveFormat.HTML, SaveFormat.MHTML, SaveFormat.EPUB, SaveFormat.AZW3 or SaveFormat.MOBI format. To learn more, visit the Specify Save Options documentation article.
ICssSavingCallback Implement this interface if you want to control how Aspose.Words saves CSS (Cascading Style Sheet) when saving a document to HTML.
IDocumentPartSavingCallback Implement this interface if you want to receive notifications and control how Aspose.Words saves document parts when exporting a document to SaveFormat.HTML or SaveFormat.EPUB format.
IDocumentSavingCallback Implement this interface if you want to have your own custom method called during saving a document.
IFontSavingCallback Implement this interface if you want to receive notifications and control how Aspose.Words saves fonts when exporting a document to HTML format.
IImageSavingCallback Implement this interface if you want to control how Aspose.Words saves images when saving a document to HTML. May be used by other formats.
IPageSavingCallback Implement this interface if you want to control how Aspose.Words saves separate pages when saving a document to fixed page formats.
IResourceSavingCallback Implement this interface if you want to control how Aspose.Words saves external resources (images, fonts and css) when saving a document to fixed page HTML or SVG.
ImageSaveOptions Allows to specify additional options when rendering document pages or shapes to images. To learn more, visit the Specify Save Options documentation article.
ImageSavingArgs Provides data for the IImageSavingCallback.image_saving() event. To learn more, visit the Save a Document documentation article.
MarkdownSaveOptions Class to specify additional options when saving a document into the SaveFormat.MARKDOWN format. To learn more, visit the Specify Save Options documentation article.
MetafileRenderingOptions Allows to specify additional metafile rendering options. To learn more, visit the Handling Windows Metafiles documentation article.
OdtSaveOptions Can be used to specify additional options when saving a document into the SaveFormat.ODT or SaveFormat.OTT format. To learn more, visit the Specify Save Options documentation article.
OoxmlSaveOptions Can be used to specify additional options when saving a document into the SaveFormat.DOCX, SaveFormat.DOCM, SaveFormat.DOTX, SaveFormat.DOTM or SaveFormat.FLAT_OPC format. To learn more, visit the Specify Save Options documentation article.
OutlineOptions Allows to specify outline options. To learn more, visit the Save a Document documentation article.
PageRange Represents a continuous range of pages. To learn more, visit the Programming with Documents documentation article.
PageSavingArgs Provides data for the IPageSavingCallback.page_saving() event. To learn more, visit the Programming with Documents documentation article.
PageSet Describes a random set of pages. To learn more, visit the Programming with Documents documentation article.
PclSaveOptions Can be used to specify additional options when saving a document into the SaveFormat.PCL format. To learn more, visit the Specify Save Options documentation article.
PdfDigitalSignatureDetails Contains details for signing a PDF document with a digital signature.
PdfDigitalSignatureTimestampSettings Contains settings of the digital signature timestamp. To learn more, visit the Work with Digital Signatures documentation article.
PdfEncryptionDetails Contains details for encrypting and access permissions for a PDF document. To learn more, visit the Protect or Encrypt a Document documentation article.
PdfSaveOptions Can be used to specify additional options when saving a document into the SaveFormat.PDF format. To learn more, visit the Specify Save Options documentation article.
PsSaveOptions Can be used to specify additional options when saving a document into the SaveFormat.PS format. To learn more, visit the Specify Save Options documentation article.
ResourceSavingArgs Provides data for the IResourceSavingCallback.resource_saving() event. To learn more, visit the Save a Document documentation article.
RtfSaveOptions Can be used to specify additional options when saving a document into the SaveFormat.RTF format. To learn more, visit the Specify Save Options documentation article.
SaveOptions This is an abstract base class for classes that allow the user to specify additional options when saving a document into a particular format. To learn more, visit the Specify Save Options documentation article.
SaveOutputParameters This object is returned to the caller after a document is saved and contains additional information that has been generated or calculated during the save operation. The caller can use or ignore this object. To learn more, visit the Save a Document documentation article.
SvgSaveOptions Can be used to specify additional options when saving a document into the SaveFormat.SVG format. To learn more, visit the Specify Save Options documentation article.
TxtListIndentation Specifies how list levels are indented when document is exporting to SaveFormat.TEXT format. To learn more, visit the Save a Document documentation article.
TxtSaveOptions Can be used to specify additional options when saving a document into the SaveFormat.TEXT format. To learn more, visit the Specify Save Options documentation article.
TxtSaveOptionsBase The base class for specifying additional options when saving a document into a text based formats. To learn more, visit the Specify Save Options documentation article.
WordML2003SaveOptions Can be used to specify additional options when saving a document into the SaveFormat.WORD_ML format. To learn more, visit the Specify Save Options documentation article.
XamlFixedSaveOptions Can be used to specify additional options when saving a document into the SaveFormat.XAML_FIXED format. To learn more, visit the Specify Save Options documentation article.
XamlFlowSaveOptions Can be used to specify additional options when saving a document into the SaveFormat.XAML_FLOW or SaveFormat.XAML_FLOW_PACK format. To learn more, visit the Specify Save Options documentation article.
XpsSaveOptions Can be used to specify additional options when saving a document into the SaveFormat.XPS format. To learn more, visit the Specify Save Options documentation article.

Enumerations

Enumeration Description
ColorMode Specifies how colors are rendered.
CompressionLevel Compression level for OOXML files. (DOCX and DOTX files are internally a ZIP-archive, this property controls the compression level of the archive.
CssStyleSheetType Specifies how CSS (Cascading Style Sheet) styles are exported to HTML.
Dml3DEffectsRenderingMode Specifies how 3D shape effects are rendered.
DmlEffectsRenderingMode Specifies how DrawingML effects are rendered to fixed page formats.
DmlRenderingMode Specifies how DrawingML shapes are rendered to fixed page formats.
DocumentSplitCriteria Specifies how the document is split into parts when saving to SaveFormat.HTML, SaveFormat.EPUB or SaveFormat.AZW3 format.
EmfPlusDualRenderingMode Specifies how Aspose.Words should render EMF+ Dual metafiles.
ExportFontFormat Indicates the format that is used to export fonts while rendering to HTML fixed format.
ExportHeadersFootersMode Specifies how headers and footers are exported to HTML, MHTML or EPUB.
ExportListLabels Specifies how list labels are exported to HTML, MHTML and EPUB.
HeaderFooterBookmarksExportMode Specifies how bookmarks in headers/footers are exported.
HtmlElementSizeOutputMode Specifies how Aspose.Words exports element widths and heights to HTML, MHTML and EPUB.
HtmlFixedPageHorizontalAlignment Specifies the horizontal alignment for pages in output HTML document.
HtmlMetafileFormat Indicates the format in which metafiles are saved to HTML documents.
HtmlOfficeMathOutputMode Specifies how Aspose.Words exports OfficeMath to HTML, MHTML and EPUB.
HtmlVersion Indicates the version of HTML is used when saving the document to SaveFormat.HTML and SaveFormat.MHTML formats.
ImageBinarizationMethod Specifies the method used to binarize image.
ImageColorMode Specifies the color mode for the generated images of document pages.
ImagePixelFormat Specifies the pixel format for the generated images of document pages.
ImlRenderingMode Specifies how ink (InkML) objects are rendered to fixed page formats.
MarkdownLinkExportMode The mode of exporting links to a target document.
MarkdownListExportMode Specifies how lists are exported into Markdown.
MetafileRenderingMode Specifies how Aspose.Words should render WMF and EMF metafiles.
NumeralFormat Indicates the symbol set that is used to represent numbers while rendering to fixed page formats.
OdtSaveMeasureUnit Specified units of measure to apply to measurable document content such as shape, widths and other during saving.
OoxmlCompliance Allows to specify which OOXML specification will be used when saving in the DOCX format.
PdfCompliance Specifies the PDF standards compliance level.
PdfCustomPropertiesExport Specifies the way Document.custom_document_properties are exported to PDF file.
PdfDigitalSignatureHashAlgorithm Specifies a digital hash algorithm used by a digital signature.
PdfFontEmbeddingMode Specifies how Aspose.Words should embed fonts.
PdfImageColorSpaceExportMode Specifies how the color space will be selected for the images in PDF document.
PdfImageCompression Specifies the type of compression applied to images in the PDF file.
PdfPageMode Specifies how the PDF document should be displayed when opened in the PDF reader.
PdfPermissions Specifies the operations that are allowed to a user on an encrypted PDF document.
PdfTextCompression Specifies a type of compression applied to all content in the PDF file except images.
PdfZoomBehavior Specifies the type of zoom applied to a PDF document when it is opened in a PDF viewer.
SvgTextOutputMode Allows to specify how text inside a document should be rendered when saving in SVG format.
TableContentAlignment Allows to specify the alignment of the content of the table to be used when exporting into Markdown format.
TiffCompression Specifies what type of compression to apply when saving page images into a TIFF file.
TxtExportHeadersFootersMode Specifies the way headers and footers are exported to plain text format.