The Aspose.Words.Saving namespace provides classes and enumerations that allow to specify additional options for saving or converting documents.
Classes | |
class | BookmarksOutlineLevelCollection |
A collection of individual bookmarks outline level. More... | |
class | CssSavingArgs |
Provides data for the CssSaving() event. More... | |
class | DocSaveOptions |
Can be used to specify additional options when saving a document into the Doc or Dot format. More... | |
class | DocumentPartSavingArgs |
Provides data for the DocumentPartSaving() callback. More... | |
class | DownsampleOptions |
Allows to specify downsample options. More... | |
class | FixedPageSaveOptions |
Contains common options that can be specified when saving a document into fixed page formats (PDF, XPS, images etc). More... | |
class | FontSavingArgs |
Provides data for the FontSaving() event. More... | |
class | HtmlFixedSaveOptions |
Can be used to specify additional options when saving a document into the HtmlFixed format. More... | |
class | HtmlSaveOptions |
Can be used to specify additional options when saving a document into the Html, Mhtml or Epub format. More... | |
interface | ICssSavingCallback |
Implement this interface if you want to control how Aspose.Words saves CSS (Cascading Style Sheet) when saving a document to HTML. More... | |
interface | IDocumentPartSavingCallback |
Implement this interface if you want to receive notifications and control how Aspose.Words saves document parts when exporting a document to Html or Epub format. More... | |
interface | IFontSavingCallback |
Implement this interface if you want to receive notifications and control how Aspose.Words saves fonts when exporting a document to HTML format. More... | |
interface | 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. More... | |
class | ImageSaveOptions |
Allows to specify additional options when rendering document pages or shapes to images. More... | |
class | ImageSavingArgs |
Provides data for the ImageSaving() event. More... | |
interface | IPageSavingCallback |
Implement this interface if you want to control how Aspose.Words saves separate pages when saving a document to fixed page formats. More... | |
interface | 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. More... | |
class | MarkdownSaveOptions |
Class to specify additional options when saving a document into the Markdown format. More... | |
class | MetafileRenderingOptions |
Allows to specify additional metafile rendering options. More... | |
class | OdtSaveOptions |
Can be used to specify additional options when saving a document into the Odt or Ott format. More... | |
class | OoxmlSaveOptions |
Can be used to specify additional options when saving a document into the Docx, Docm, Dotx, Dotm or FlatOpc format. More... | |
class | OutlineOptions |
Allows to specify outline options. More... | |
class | PageRange |
Represents a continuous range of pages. More... | |
class | PageSavingArgs |
Provides data for the PageSaving() event. More... | |
class | PageSet |
Describes a random set of pages. More... | |
class | PclSaveOptions |
Can be used to specify additional options when saving a document into the Pcl format. More... | |
class | PdfDigitalSignatureDetails |
Contains details for signing a PDF document with a digital signature. More... | |
class | PdfDigitalSignatureTimestampSettings |
Contains settings of the digital signature timestamp. More... | |
class | PdfEncryptionDetails |
Contains details for encrypting and access permissions for a PDF document. More... | |
class | PdfSaveOptions |
Can be used to specify additional options when saving a document into the Pdf format. More... | |
class | PsSaveOptions |
Can be used to specify additional options when saving a document into the Ps format. More... | |
class | ResourceSavingArgs |
Provides data for the ResourceSaving() event. More... | |
class | RtfSaveOptions |
Can be used to specify additional options when saving a document into the Rtf format. More... | |
class | 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. More... | |
class | 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. More... | |
class | SvgSaveOptions |
Can be used to specify additional options when saving a document into the Svg format. More... | |
class | TxtListIndentation |
Specifies how list levels are indented when document is exporting to Text format. More... | |
class | TxtSaveOptions |
Can be used to specify additional options when saving a document into the Text format. More... | |
class | TxtSaveOptionsBase |
The base class for specifying additional options when saving a document into a text based formats. More... | |
class | WordML2003SaveOptions |
Can be used to specify additional options when saving a document into the WordML format. More... | |
class | XamlFixedSaveOptions |
Can be used to specify additional options when saving a document into the XamlFixed format. More... | |
class | XamlFlowSaveOptions |
Can be used to specify additional options when saving a document into the XamlFlow or XamlFlowPack format. More... | |
class | XpsSaveOptions |
Can be used to specify additional options when saving a document into the Xps format. More... | |
Enumerations | |
enum class | ColorMode |
Specifies how colors are rendered. More... | |
enum class | CompressionLevel |
Compression level for OOXML files. (DOCX and DOTX files are internally a ZIP-archive, this property controls the compression level of the archive. Note, that FlatOpc file is not a ZIP-archive, therefore, this property does not affect the FlatOpc files.) More... | |
enum class | CssStyleSheetType |
Specifies how CSS (Cascading Style Sheet) styles are exported to HTML. More... | |
enum class | Dml3DEffectsRenderingMode |
Specifies how 3D shape effects are rendered. More... | |
enum class | DmlEffectsRenderingMode |
Specifies how DrawingML effects are rendered to fixed page formats. More... | |
enum class | DmlRenderingMode |
Specifies how DrawingML shapes are rendered to fixed page formats. More... | |
enum class | DocumentSplitCriteria |
Specifies how the document is split into parts when saving to Html or Epub format. More... | |
enum class | EmfPlusDualRenderingMode |
Specifies how Aspose.Words should render EMF+ Dual metafiles. More... | |
enum class | ExportFontFormat |
Indicates the format that is used to export fonts while rendering to HTML fixed format. More... | |
enum class | ExportHeadersFootersMode |
Specifies how headers and footers are exported to HTML, MHTML or EPUB. More... | |
enum class | ExportListLabels |
Specifies how list labels are exported to HTML, MHTML and EPUB. More... | |
enum class | HeaderFooterBookmarksExportMode |
Specifies how bookmarks in headers/footers are exported. More... | |
enum class | HtmlElementSizeOutputMode |
Specifies how Aspose.Words exports element widths and heights to HTML, MHTML and EPUB. More... | |
enum class | HtmlFixedPageHorizontalAlignment |
Specifies the horizontal alignment for pages in output HTML document. More... | |
enum class | HtmlMetafileFormat |
Indicates the format in which metafiles are saved to HTML documents. More... | |
enum class | HtmlOfficeMathOutputMode |
Specifies how Aspose.Words exports OfficeMath to HTML, MHTML and EPUB. More... | |
enum class | HtmlVersion |
Indicates the version of HTML is used when saving the document to Html and Mhtml formats. More... | |
enum class | ImageBinarizationMethod |
Specifies the method used to binarize image. More... | |
enum class | ImageColorMode |
Specifies the color mode for the generated images of document pages. More... | |
enum class | ImagePixelFormat |
Specifies the pixel format for the generated images of document pages. More... | |
enum class | ImlRenderingMode |
Specifies how ink (InkML) objects are rendered to fixed page formats. More... | |
enum class | MetafileRenderingMode |
Specifies how Aspose.Words should render WMF and EMF metafiles. More... | |
enum class | NumeralFormat |
Indicates the symbol set that is used to represent numbers while rendering to fixed page formats. More... | |
enum class | OdtSaveMeasureUnit |
Specified units of measure to apply to measurable document content such as shape, widths and other during saving. More... | |
enum class | OoxmlCompliance |
Allows to specify which OOXML specification will be used when saving in the DOCX format. More... | |
enum class | PdfCompliance |
Specifies the PDF standards compliance level. More... | |
enum class | PdfCustomPropertiesExport |
Specifies the way CustomDocumentProperties are exported to PDF file. More... | |
enum class | PdfDigitalSignatureHashAlgorithm |
Specifies a digital hash algorithm used by a digital signature. More... | |
enum class | PdfEncryptionAlgorithm |
Specifies the encryption algorithm to use for encrypting a PDF document. More... | |
enum class | PdfFontEmbeddingMode |
Specifies how Aspose.Words should embed fonts. More... | |
enum class | PdfImageColorSpaceExportMode |
Specifies how the color space will be selected for the images in PDF document. More... | |
enum class | PdfImageCompression |
Specifies the type of compression applied to images in the PDF file. More... | |
enum class | PdfPageMode |
Specifies how the PDF document should be displayed when opened in the PDF reader. More... | |
enum class | PdfPermissions |
Specifies the operations that are allowed to a user on an encrypted PDF document. More... | |
enum class | PdfTextCompression |
Specifies a type of compression applied to all content in the PDF file except images. More... | |
enum class | PdfZoomBehavior |
Specifies the type of zoom applied to a PDF document when it is opened in a PDF viewer. More... | |
enum class | SvgTextOutputMode |
enum class | TableContentAlignment |
Allows to specify the alignment of the content of the table to be used when exporting into Markdown format. More... | |
enum class | TiffCompression |
Specifies what type of compression to apply when saving page images into a TIFF file. More... | |
enum class | TxtExportHeadersFootersMode |
Specifies the way headers and footers are exported to plain text format. More... | |
|
strong |
Specifies how colors are rendered.
Shows how to change image color with saving options property.
Enumerator | |
---|---|
Normal | Rendering with unmodified colors. |
Grayscale | Rendering with colors in a range of gray shades from white to black. |
|
strong |
Compression level for OOXML files. (DOCX and DOTX files are internally a ZIP-archive, this property controls the compression level of the archive. Note, that FlatOpc file is not a ZIP-archive, therefore, this property does not affect the FlatOpc files.)
Shows how to specify the compression level to use while saving an OOXML document.
Enumerator | |
---|---|
Normal | Normal compression level. Default compression level used by Aspose.Words. |
Maximum | Maximum compression level. |
Fast | Fast compression level. |
SuperFast | Super Fast compression level. Microsoft Word uses this compression level. |
|
strong |
Specifies how CSS (Cascading Style Sheet) styles are exported to HTML.
Shows how to work with CSS stylesheets that an HTML conversion creates.
|
strong |
Specifies how 3D shape effects are rendered.
Enumerator | |
---|---|
Basic | A lightweight and stable rendering, based on the internal engine, but advanced effects such as lighting, materials and other additional effects are not displayed when using this mode. Please see documentation for details. |
Advanced | Rendering of an extended list of special effects including advanced 3D effects such as bevels, lighting and materials. |
|
strong |
Specifies how DrawingML effects are rendered to fixed page formats.
Shows how to configure the rendering quality of DrawingML effects in a document as we save it to PDF.
Enumerator | |
---|---|
Simplified | Rendering of DrawingML effects are simplified. |
None | No DrawingML effects are rendered. |
Fine | DrawingML effects are rendered in fine mode which involves advanced processing. In this mode rendering of effects gives better results but at a higher performance cost than Simplified mode. |
|
strong |
Specifies how DrawingML shapes are rendered to fixed page formats.
Shows how to configure the rendering quality of DrawingML effects in a document as we save it to PDF.
Shows how to render fallback shapes when saving to PDF.
|
strong |
Specifies how the document is split into parts when saving to Html or Epub format.
DocumentSplitCriteria is a set of flags which can be combined. For instance you can split the document at page breaks and heading paragraphs in the same export operation.
Different criteria can partially overlap. For instance, Heading 1 style is frequently given PageBreakBefore property so it falls under two criteria: PageBreak and HeadingParagraph. Some section breaks can cause page breaks and so on. In typical cases specifying only one flag is the most practical option.
Shows how to use a specific encoding when saving a document to .epub.
Enumerator | |
---|---|
None | The document is not split. |
PageBreak | The document is split into parts at explicit page breaks. A page break can be specified by a PageBreak character, a section break specifying start of new section on a new page, or a paragraph that has its PageBreakBefore property set to |
ColumnBreak | The document is split into parts at column breaks. A column break can be specified by a ColumnBreak character or a section break specifying start of new section in a new column. |
SectionBreak | The document is split into parts at a section break of any type. |
HeadingParagraph | The document is split into parts at a paragraph formatted using a heading style Heading 1, Heading 2 etc. Use together with DocumentSplitHeadingLevel to specify the heading levels (from 1 to the specified level) at which to split. |
|
strong |
Specifies how Aspose.Words should render EMF+ Dual metafiles.
Shows how to configure Enhanced Windows Metafile-related rendering options when saving to PDF.
|
strong |
Indicates the format that is used to export fonts while rendering to HTML fixed format.
Shows how use fonts only from the target machine when saving a document to HTML.
Enumerator | |
---|---|
Woff | WOFF (Web Open Font Format). |
Ttf | TTF (TrueType Font format). |
|
strong |
Specifies how headers and footers are exported to HTML, MHTML or EPUB.
Shows how to omit headers/footers when saving a document to HTML.
|
strong |
Specifies how list labels are exported to HTML, MHTML and EPUB.
Shows how to configure list exporting to HTML.
Specifies how bookmarks in headers/footers are exported.
Shows to process bookmarks in headers/footers in a document that we are rendering to PDF.
Enumerator | |
---|---|
None | Bookmarks in headers/footers are not exported. |
First | Only bookmark in first header/footer of the section is exported. |
All | Bookmarks in all headers/footers are exported. |
|
strong |
Specifies how Aspose.Words exports element widths and heights to HTML, MHTML and EPUB.
Shows how to preserve negative indents in the output .html.
Specifies the horizontal alignment for pages in output HTML document.
Shows how to set the horizontal alignment of pages when saving a document to HTML.
Enumerator | |
---|---|
Left | Align pages to the left. |
Center | Center pages. This is the default value. |
Right | Align pages to the right. |
|
strong |
Indicates the format in which metafiles are saved to HTML documents.
Shows how to convert SVG objects to a different format when saving HTML documents.
Enumerator | |
---|---|
Png | Metafiles are rendered to raster PNG images. |
Svg | Metafiles are converted to vector SVG images. |
EmfOrWmf | Metafiles are saved as is, without conversion. |
|
strong |
Specifies how Aspose.Words exports OfficeMath to HTML, MHTML and EPUB.
Shows how to specify how to export Microsoft OfficeMath objects to HTML.
|
strong |
Indicates the version of HTML is used when saving the document to Html and Mhtml formats.
Shows how to save a document to a specific version of HTML.
Shows how to display a DOCTYPE heading when converting documents to the Xhtml 1.0 transitional standard.
|
strong |
Specifies the method used to binarize image.
Shows how to set the TIFF binarization error threshold when using the Floyd-Steinberg method to render a TIFF image.
Enumerator | |
---|---|
Threshold | Specifies threshold method. |
FloydSteinbergDithering | Specifies dithering using Floyd-Steinberg error diffusion method. |
|
strong |
Specifies the color mode for the generated images of document pages.
Shows how to set a color mode when rendering documents.
|
strong |
Specifies the pixel format for the generated images of document pages.
Shows how to select a bit-per-pixel rate with which to render a document to an image.
|
strong |
Specifies how ink (InkML) objects are rendered to fixed page formats.
|
strong |
Specifies how Aspose.Words should render WMF and EMF metafiles.
Shows added a fallback to bitmap rendering and changing type of warnings about unsupported metafile records.
|
strong |
Indicates the symbol set that is used to represent numbers while rendering to fixed page formats.
Shows how to set the numeral format used when saving to PDF.
|
strong |
Specified units of measure to apply to measurable document content such as shape, widths and other during saving.
Shows how to use different measurement units to define style parameters of a saved ODT document.
Enumerator | |
---|---|
Centimeters | Specifies that the document content is saved using centimeters. |
Inches | Specifies that the document content is saved using inches. |
|
strong |
Allows to specify which OOXML specification will be used when saving in the DOCX format.
Shows how to set an OOXML compliance specification for a saved document to adhere to.
Shows how to configure a list to restart numbering at each section.
Shows how to insert DML shapes into a document.
Enumerator | |
---|---|
Ecma376_2006 | ECMA-376 1st Edition, 2006. |
Iso29500_2008_Transitional | ISO/IEC 29500:2008 Transitional compliance level. |
Iso29500_2008_Strict | ISO/IEC 29500:2008 Strict compliance level. |
|
strong |
Specifies the PDF standards compliance level.
Shows how to set the PDF standards compliance level of saved PDF documents.
|
strong |
Specifies the way CustomDocumentProperties are exported to PDF file.
Shows how to export custom properties while converting a document to PDF.
Specifies a digital hash algorithm used by a digital signature.
Shows how to sign a generated PDF document.
Enumerator | |
---|---|
Sha1 | SHA-1 hash algorithm. |
Sha256 | SHA-256 hash algorithm. |
Sha384 | SHA-384 hash algorithm. |
Sha512 | SHA-512 hash algorithm. |
Md5 | SHA-1 hash algorithm. |
|
strong |
Specifies the encryption algorithm to use for encrypting a PDF document.
Shows how to set permissions on a saved PDF document.
Enumerator | |
---|---|
RC4_40 | RC4 encryption, key length of 40 bits. |
RC4_128 | RC4 encryption, key length of 128 bits. |
|
strong |
Specifies how Aspose.Words should embed fonts.
Shows how to set Aspose.Words to skip embedding Arial and Times New Roman fonts into a PDF document.
Specifies how the color space will be selected for the images in PDF document.
Shows how to set a different color space for images in a document as we export it to PDF.
|
strong |
Specifies the type of compression applied to images in the PDF file.
Shows how to specify a compression type for all images in a document that we are converting to PDF.
Enumerator | |
---|---|
Auto | Automatically selects the most appropriate compression for each image. |
Jpeg | Jpeg compression. Does not support transparency. |
|
strong |
Specifies how the PDF document should be displayed when opened in the PDF reader.
Shows to process bookmarks in headers/footers in a document that we are rendering to PDF.
Shows how to set instructions for some PDF readers to follow when opening an output document.
Enumerator | |
---|---|
UseNone | Neither document outline nor thumbnail images are visible. |
UseOutlines | Document outline is visible. Note that if there're no outlines in the PDF document then outline navigation pane will not be visible anyway. |
UseThumbs | Thumbnail images are visible. |
FullScreen | Full-screen mode, with no menu bar, window controls, or any other window visible. |
UseOC | Optional content group panel is visible. |
|
strong |
Specifies the operations that are allowed to a user on an encrypted PDF document.
Shows how to set permissions on a saved PDF document.
Enumerator | |
---|---|
DisallowAll | Disallows all operations on the PDF document. This is the default value. |
AllowAll | Allows all operations on the PDF document. |
ContentCopy | Allows copying or otherwise extracting text and graphics from the document, including extraction for accessibility purposes. |
ContentCopyForAccessibility | Allows extract text and graphics in support of accessibility to disabled users or for other purposes. When using RC4 40-bit encryption, this option is ignored and accessibility is allowed whenever ContentCopy is set. |
ModifyContents | Allows modifying the document’s contents. |
ModifyAnnotations | Allows adding or modifying text annotations. When using RC4 40-bit encryption, this option also allows filling in form fields. |
FillIn | Allows filling in forms and signing the document. When using RC4 40-bit encryption, this option is ignored and filling in form is allowed whenever ModifyAnnotations is set. |
DocumentAssembly | Allows assembling the document: inserting, rotating, or deleting pages and creating navigation elements such as bookmarks or thumbnail images. When using RC4 40-bit encryption, this option is ignored and document assembly is allowed when ModifyContents is set. |
Printing | Allows printing the document. |
HighResolutionPrinting | Allows printing the document to the highest resolution possible. When using RC4 40-bit encryption, this option is ignored and high resolution printing is allowed when Printing is set. |
|
strong |
Specifies a type of compression applied to all content in the PDF file except images.
Shows how to apply text compression when saving a document to PDF.
Enumerator | |
---|---|
None | No compression. |
Flate | Flate (ZIP) compression. |
|
strong |
Specifies the type of zoom applied to a PDF document when it is opened in a PDF viewer.
Shows how to set the default zooming that a reader applies when opening a rendered PDF document.
|
strong |
Shows how to mimic the properties of images when converting a .docx document to .svg.
Enumerator | |
---|---|
UseSvgFonts | SVG fonts are used to render text. Note, not all browsers support SVG fonts. |
UseTargetMachineFonts | Fonts installed on the target machine are used to render text. Note, if some of fonts used in the document are not available on the target machine, document can look differently. |
UsePlacedGlyphs | Text is rendered using curves. Note, text selection will not work if you use this option. |
|
strong |
Allows to specify the alignment of the content of the table to be used when exporting into Markdown format.
|
strong |
Specifies what type of compression to apply when saving page images into a TIFF file.
Shows how to select the compression scheme to apply to a document that we convert into a TIFF image.
Specifies the way headers and footers are exported to plain text format.
Shows how to specify how to export headers and footers to plain text format.