Aspose::Words::Saving Namespace Reference

Classes

class  BookmarksOutlineLevelCollection
 A collection of individual bookmarks outline level. More...
 
class  CssSavingArgs
 Provides data for the Aspose::Words::Saving::ICssSavingCallback::CssSaving(System::SharedPtr<Aspose::Words::Saving::CssSavingArgs>) event. More...
 
class  DocSaveOptions
 Can be used to specify additional options when saving a document into the Aspose::Words::SaveFormat::Doc or Aspose::Words::SaveFormat::Dot format. More...
 
class  DocumentPartSavingArgs
 Provides data for the Aspose::Words::Saving::IDocumentPartSavingCallback::DocumentPartSaving(System::SharedPtr<Aspose::Words::Saving::DocumentPartSavingArgs>) 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 Aspose::Words::Saving::IFontSavingCallback::FontSaving(System::SharedPtr<Aspose::Words::Saving::FontSavingArgs>) event. More...
 
class  GraphicsQualityOptions
 Allows to specify additional System::Drawing::Graphics quality options. More...
 
class  HtmlFixedSaveOptions
 Can be used to specify additional options when saving a document into the Aspose::Words::SaveFormat::HtmlFixed format. More...
 
class  HtmlSaveOptions
 Can be used to specify additional options when saving a document into the Aspose::Words::SaveFormat::Html, Aspose::Words::SaveFormat::Mhtml or Aspose::Words::SaveFormat::Epub format. More...
 
class  ImageSaveOptions
 Allows to specify additional options when rendering document pages or shapes to images. More...
 
class  ImageSavingArgs
 Provides data for the Aspose::Words::Saving::IImageSavingCallback::ImageSaving(System::SharedPtr<Aspose::Words::Saving::ImageSavingArgs>) event. 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 Aspose::Words::SaveFormat::Odt or Aspose::Words::SaveFormat::Ott format. More...
 
class  OoxmlSaveOptions
 Can be used to specify additional options when saving a document into the Aspose::Words::SaveFormat::Docx, Aspose::Words::SaveFormat::Docm, Aspose::Words::SaveFormat::Dotx, Aspose::Words::SaveFormat::Dotm or Aspose::Words::SaveFormat::FlatOpc format. More...
 
class  OutlineOptions
 Allows to specify outline options. More...
 
class  PageSavingArgs
 Provides data for the Aspose::Words::Saving::IPageSavingCallback::PageSaving(System::SharedPtr<Aspose::Words::Saving::PageSavingArgs>) event. More...
 
class  PclSaveOptions
 Can be used to specify additional options when saving a document into the Aspose::Words::SaveFormat::Pcl format. More...
 
class  PdfSaveOptions
 Can be used to specify additional options when saving a document into the Aspose::Words::SaveFormat::Pdf format. More...
 
class  PsSaveOptions
 Can be used to specify additional options when saving a document into the Aspose::Words::SaveFormat::Ps format. More...
 
class  ResourceSavingArgs
 Provides data for the Aspose::Words::Saving::IResourceSavingCallback::ResourceSaving(System::SharedPtr<Aspose::Words::Saving::ResourceSavingArgs>) event. More...
 
class  RtfSaveOptions
 Can be used to specify additional options when saving a document into the Aspose::Words::SaveFormat::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 Aspose::Words::SaveFormat::Svg format. More...
 
class  TxtListIndentation
 Specifies how list levels are indented when document is exporting to Aspose::Words::SaveFormat::Text format. More...
 
class  TxtSaveOptions
 Can be used to specify additional options when saving a document into the Aspose::Words::SaveFormat::Text format. More...
 
class  WordML2003SaveOptions
 Can be used to specify additional options when saving a document into the Aspose::Words::SaveFormat::WordML format. More...
 
class  XamlFixedSaveOptions
 Can be used to specify additional options when saving a document into the Aspose::Words::SaveFormat::XamlFixed format. More...
 
class  XamlFlowSaveOptions
 Can be used to specify additional options when saving a document into the Aspose::Words::SaveFormat::XamlFlow or Aspose::Words::SaveFormat::XamlFlowPack format. More...
 
class  XpsSaveOptions
 Can be used to specify additional options when saving a document into the Aspose::Words::SaveFormat::Xps format. More...
 

Enumerations

enum  ColorMode { ColorMode::Normal, ColorMode::Grayscale }
 Specifies how colors are rendered. More...
 
enum  CssStyleSheetType { CssStyleSheetType::Inline, CssStyleSheetType::Embedded, CssStyleSheetType::External }
 Specifies how CSS (Cascading Style Sheet) styles are exported to HTML. More...
 
enum  DmlEffectsRenderingMode { DmlEffectsRenderingMode::Simplified, DmlEffectsRenderingMode::None, DmlEffectsRenderingMode::Fine }
 Specifies how DrawingML effects are rendered to fixed page formats. More...
 
enum  DmlRenderingMode { DmlRenderingMode::Fallback, DmlRenderingMode::DrawingML }
 Specifies how DrawingML shapes are rendered to fixed page formats. More...
 
enum  DocumentSplitCriteria {
  DocumentSplitCriteria::None = 0x0000, DocumentSplitCriteria::PageBreak = 0x0001, DocumentSplitCriteria::ColumnBreak = 0x0002, DocumentSplitCriteria::SectionBreak = 0x0004,
  DocumentSplitCriteria::HeadingParagraph = 0x0008
}
 Specifies how the document is split into parts when saving to Aspose::Words::SaveFormat::Html or Aspose::Words::SaveFormat::Epub format. More...
 
enum  EmfPlusDualRenderingMode { EmfPlusDualRenderingMode::EmfPlusWithFallback, EmfPlusDualRenderingMode::EmfPlus, EmfPlusDualRenderingMode::Emf }
 Specifies how Aspose.Words should render EMF+ Dual metafiles. More...
 
enum  ExportFontFormat { ExportFontFormat::Woff, ExportFontFormat::Ttf }
 Indicates the format that is used to export fonts while rendering to HTML fixed format. More...
 
enum  ExportHeadersFootersMode { ExportHeadersFootersMode::None, ExportHeadersFootersMode::PerSection, ExportHeadersFootersMode::FirstSectionHeaderLastSectionFooter, ExportHeadersFootersMode::FirstPageHeaderFooterPerSection }
 Specifies how headers and footers are exported to HTML, MHTML or EPUB. More...
 
enum  ExportListLabels { ExportListLabels::Auto, ExportListLabels::AsInlineText, ExportListLabels::ByHtmlTags }
 Specifies how list labels are exported to HTML, MHTML and EPUB. More...
 
enum  HeaderFooterBookmarksExportMode { HeaderFooterBookmarksExportMode::None, HeaderFooterBookmarksExportMode::First, HeaderFooterBookmarksExportMode::All }
 Specifies how bookmarks in headers/footers are exported. More...
 
enum  HtmlElementSizeOutputMode { HtmlElementSizeOutputMode::All, HtmlElementSizeOutputMode::RelativeOnly, HtmlElementSizeOutputMode::None }
 Specifies how Aspose.Words exports element widths and heights to HTML, MHTML and EPUB. More...
 
enum  HtmlFixedPageHorizontalAlignment { HtmlFixedPageHorizontalAlignment::Left, HtmlFixedPageHorizontalAlignment::Center, HtmlFixedPageHorizontalAlignment::Right }
 Specifies the horizontal alignment for pages in output HTML document. More...
 
enum  HtmlMetafileFormat { HtmlMetafileFormat::Png, HtmlMetafileFormat::Svg, HtmlMetafileFormat::EmfOrWmf }
 Indicates the format in which metafiles are saved to HTML documents. More...
 
enum  HtmlOfficeMathOutputMode { HtmlOfficeMathOutputMode::Image, HtmlOfficeMathOutputMode::MathML, HtmlOfficeMathOutputMode::Text }
 Specifies how Aspose.Words exports OfficeMath to HTML, MHTML and EPUB. More...
 
enum  HtmlVersion { HtmlVersion::Xhtml, HtmlVersion::Html5 }
 Indicates the version of HTML is used when saving the document to Aspose::Words::SaveFormat::Html and Aspose::Words::SaveFormat::Mhtml formats. More...
 
enum  ImageBinarizationMethod { ImageBinarizationMethod::Threshold, ImageBinarizationMethod::FloydSteinbergDithering }
 Specifies the method used to binarize image. More...
 
enum  ImageColorMode { ImageColorMode::None, ImageColorMode::Grayscale, ImageColorMode::BlackAndWhite }
 Specifies the color mode for the generated images of document pages. More...
 
enum  ImagePixelFormat {
  ImagePixelFormat::Format16BppRgb555, ImagePixelFormat::Format16BppRgb565, ImagePixelFormat::Format16BppArgb1555, ImagePixelFormat::Format24BppRgb,
  ImagePixelFormat::Format32BppRgb, ImagePixelFormat::Format32BppArgb, ImagePixelFormat::Format32BppPArgb, ImagePixelFormat::Format48BppRgb,
  ImagePixelFormat::Format64BppArgb, ImagePixelFormat::Format64BppPArgb, ImagePixelFormat::Format1bppIndexed
}
 Specifies the pixel format for the generated images of document pages. More...
 
enum  MetafileRenderingMode { MetafileRenderingMode::VectorWithFallback, MetafileRenderingMode::Vector, MetafileRenderingMode::Bitmap }
 Specifies how Aspose.Words should render WMF and EMF metafiles. More...
 
enum  NumeralFormat {
  NumeralFormat::European, NumeralFormat::ArabicIndic, NumeralFormat::EasternArabicIndic, NumeralFormat::Context,
  NumeralFormat::System
}
 Indicates the symbol set that is used to represent numbers while rendering to fixed page formats. More...
 
enum  OdtSaveMeasureUnit { OdtSaveMeasureUnit::Centimeters = 0, OdtSaveMeasureUnit::Inches = 1 }
 Specified units of measure to apply to measurable document content such as shape, widths and other during saving. More...
 
enum  OoxmlCompliance { OoxmlCompliance::Ecma376_2006, OoxmlCompliance::Iso29500_2008_Transitional, OoxmlCompliance::Iso29500_2008_Strict }
 Allows to specify which OOXML specification will be used when saving in the DOCX format. More...
 
enum  PdfCompliance { PdfCompliance::Pdf15, PdfCompliance::PdfA1a, PdfCompliance::PdfA1b }
 Specifies the PDF standards compliance level. More...
 
enum  PdfCustomPropertiesExport { PdfCustomPropertiesExport::None, PdfCustomPropertiesExport::Standard, PdfCustomPropertiesExport::Metadata }
 Specifies the way Aspose::Words::Document::get_CustomDocumentProperties are exported to PDF file. More...
 
enum  PdfFontEmbeddingMode { PdfFontEmbeddingMode::EmbedAll, PdfFontEmbeddingMode::EmbedNonstandard, PdfFontEmbeddingMode::EmbedNone }
 Specifies how Aspose.Words should embed fonts. More...
 
enum  PdfImageColorSpaceExportMode { PdfImageColorSpaceExportMode::Auto, PdfImageColorSpaceExportMode::SimpleCmyk }
 Specifies how the color space will be selected for the images in PDF document. More...
 
enum  PdfImageCompression { PdfImageCompression::Auto, PdfImageCompression::Jpeg }
 Specifies the type of compression applied to images in the PDF file. More...
 
enum  PdfPageMode {
  PdfPageMode::UseNone, PdfPageMode::UseOutlines, PdfPageMode::UseThumbs, PdfPageMode::FullScreen,
  PdfPageMode::UseOC
}
 Specifies how the PDF document should be displayed when opened in the PDF reader. More...
 
enum  PdfTextCompression { PdfTextCompression::None, PdfTextCompression::Flate }
 Specifies a type of compression applied to all content in the PDF file except images. More...
 
enum  PdfZoomBehavior {
  PdfZoomBehavior::None, PdfZoomBehavior::ZoomFactor, PdfZoomBehavior::FitPage, PdfZoomBehavior::FitWidth,
  PdfZoomBehavior::FitHeight, PdfZoomBehavior::FitBox
}
 Specifies the type of zoom applied to a PDF document when it is opened in a PDF viewer. More...
 
enum  TiffCompression {
  TiffCompression::None, TiffCompression::Rle, TiffCompression::Lzw, TiffCompression::Ccitt3,
  TiffCompression::Ccitt4
}
 Specifies what type of compression to apply when saving page images into a TIFF file. More...
 
enum  TxtExportHeadersFootersMode { TxtExportHeadersFootersMode::None, TxtExportHeadersFootersMode::PrimaryOnly, TxtExportHeadersFootersMode::AllAtEnd }
 Specifies the way headers and footers are exported to plain text format. More...
 

Detailed Description

The Aspose.Words.Saving namespace provides classes and enumerations that allow to specify additional options for saving or converting documents.

Enumeration Type Documentation

◆ ColorMode

Specifies how colors are rendered.

Enumerator
Normal 

Rendering with unmodified colors.

Grayscale 

Rendering with colors in a range of gray shades from white to black.

◆ CssStyleSheetType

Specifies how CSS (Cascading Style Sheet) styles are exported to HTML.

See also
Aspose::Words::Saving::HtmlSaveOptions::get_CssStyleSheetType
Enumerator
Inline 

CSS styles are written inline (as a value of the style attribute on every element).

Embedded 

CSS styles are written separately from the content in a style sheet embedded in the HTML file.

External 

CSS styles are written separately from the content in a style sheet in an external file. The HTML file links the style sheet.

◆ DmlEffectsRenderingMode

Specifies how DrawingML effects are rendered to fixed page formats.

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 Aspose::Words::Saving::DmlEffectsRenderingMode::Simplified mode.

◆ DmlRenderingMode

Specifies how DrawingML shapes are rendered to fixed page formats.

Enumerator
Fallback 

If fall-back shape is available for DrawingML, Aspose.Words renders fall-back shape instead of the DrawingML.

Please note that after saving a document to a fixed page format with fall-back DML rendering mode, DML shapes in the AW document model are permanently replaced with their fall-back counterparts. As a result, saving the same document again will always use fall-back shapes, even if DmlRenderingMode is set to DrawingML.

DrawingML 

Aspose.Words ignores fall-back shape of DrawingML and renders DrawingML itself. This is the default mode.

◆ DocumentSplitCriteria

Specifies how the document is split into parts when saving to Aspose::Words::SaveFormat::Html or Aspose::Words::SaveFormat::Epub format.

Aspose::Words::Saving::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 Aspose::Words::ParagraphFormat::get_PageBreakBefore property so it falls under two criteria: Aspose::Words::Saving::DocumentSplitCriteria::PageBreak and Aspose::Words::Saving::DocumentSplitCriteria::HeadingParagraph. Some section breaks can cause page breaks and so on. In typical cases specifying only one flag is the most practical option.

See also
Aspose::Words::Saving::HtmlSaveOptions::get_DocumentSplitCriteria
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 Aspose::Words::ControlChar::PageBreak character, a section break specifying start of new section on a new page, or a paragraph that has its Aspose::Words::ParagraphFormat::get_PageBreakBefore property set to true.

ColumnBreak 

The document is split into parts at column breaks. A column break can be specified by a Aspose::Words::ControlChar::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 Aspose::Words::Saving::HtmlSaveOptions::get_DocumentSplitHeadingLevel to specify the heading levels (from 1 to the specified level) at which to split.

◆ EmfPlusDualRenderingMode

Specifies how Aspose.Words should render EMF+ Dual metafiles.

Enumerator
EmfPlusWithFallback 

Aspose.Words tries to render EMF+ part of EMF+ Dual metafile. If some of the EMF+ records are not supported then Aspose.Words renders EMF part of EMF+ Dual metafile.

EmfPlus 

Aspose.Words renders EMF+ part of EMF+ Dual metafile.

Emf 

Aspose.Words renders EMF part of EMF+ Dual metafile.

◆ ExportFontFormat

Indicates the format that is used to export fonts while rendering to HTML fixed format.

See also
Aspose::Words::Saving::HtmlFixedSaveOptions::get_FontFormat
Enumerator
Woff 

WOFF (Web Open Font Format).

Ttf 

TTF (TrueType Font format).

◆ ExportHeadersFootersMode

Specifies how headers and footers are exported to HTML, MHTML or EPUB.

See also
Aspose::Words::Saving::HtmlSaveOptions::get_ExportHeadersFootersMode
Enumerator
None 

Headers and footers are not exported.

PerSection 

Primary headers and footers are exported at the beginning and the end of each section.

FirstSectionHeaderLastSectionFooter 

Primary header of the first section is exported at the beginning of the document and primary footer is at the end.

FirstPageHeaderFooterPerSection 

First page header and footer are exported at the beginning and the end of each section.

◆ ExportListLabels

Specifies how list labels are exported to HTML, MHTML and EPUB.

See also
Aspose::Words::Saving::HtmlSaveOptions::get_ExportListLabels
Enumerator
Auto 

Outputs list labels in auto mode. Uses HTML native elements when possible.

HTML <ul> and <ol> tags are used for list label representation if it doesn't cause formatting loss, otherwise the HTML <p> tag is used.

AsInlineText 

Outputs all list labels as inline text.

HTML <p> tag is used for any list label representation.

ByHtmlTags 

Outputs all list labels as HTML native elements.

HTML <ul> and <ol> tags are used for list label representation. Some formatting loss is possible.

◆ HeaderFooterBookmarksExportMode

Specifies how bookmarks in headers/footers are exported.

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.

◆ HtmlElementSizeOutputMode

Specifies how Aspose.Words exports element widths and heights to HTML, MHTML and EPUB.

See also
Aspose::Words::Saving::HtmlSaveOptions::get_TableWidthOutputMode
Enumerator
All 

All element sizes, both in absolute and relative units, specified in the document are exported.

RelativeOnly 

Element sizes are exported only if they are specified in relative units in the document. Fixed sizes are not exported in this mode. Visual agents will calculate missing sizes to make document layout more natural.

None 

Element sizes are not exported. Visual agents will build layout automatically according to relationship between elements.

◆ HtmlFixedPageHorizontalAlignment

Specifies the horizontal alignment for pages in output HTML document.

Enumerator
Left 

Align pages to the left.

Center 

Center pages. This is the default value.

Right 

Align pages to the right.

◆ HtmlMetafileFormat

Indicates the format in which metafiles are saved to 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.

◆ HtmlOfficeMathOutputMode

Specifies how Aspose.Words exports OfficeMath to HTML, MHTML and EPUB.

Enumerator
Image 

OfficeMath is converted to HTML as image specified by <img> tag.

MathML 

OfficeMath is converted to HTML using MathML.

Text 

OfficeMath is converted to HTML as sequence of runs specified by <span> tags.

◆ HtmlVersion

Indicates the version of HTML is used when saving the document to Aspose::Words::SaveFormat::Html and Aspose::Words::SaveFormat::Mhtml formats.

Enumerator
Xhtml 

Saves the document in compliance with the XHTML 1.0 Transitional standard.

Aspose.Words aims to output XHTML according to the XHTML 1.0 Transitional standard, but the output will not always validate against the DTD. Some structures inside a Microsoft Word document are hard or impossible to map to a document that will validate against the XHTML schema. For example, XHTML does not allow nested lists (UL cannot be nested inside another UL element), but in Microsoft Word document multilevel lists occur quite often.

Html5 

Saves the document in compliance with the HTML 5 standard.

◆ ImageBinarizationMethod

Specifies the method used to binarize image.

Enumerator
Threshold 

Specifies threshold method.

FloydSteinbergDithering 

Specifies dithering using Floyd-Steinberg error diffusion method.

◆ ImageColorMode

Specifies the color mode for the generated images of document pages.

Enumerator
None 

The pages of the document will be rendered as color images.

Grayscale 

The pages of the document will be rendered as grayscale images.

BlackAndWhite 

The pages of the document will be rendered as black and white images.

◆ ImagePixelFormat

Specifies the pixel format for the generated images of document pages.

Enumerator
Format16BppRgb555 

16 bits per pixel, RGB.

Format16BppRgb565 

16 bits per pixel, RGB.

Format16BppArgb1555 

16 bits per pixel, ARGB.

Format24BppRgb 

24 bits per pixel, RGB.

Format32BppRgb 

32 bits per pixel, RGB.

Format32BppArgb 

32 bits per pixel, ARGB.

Format32BppPArgb 

32 bits per pixel, ARGB, premultiplied alpha.

Format48BppRgb 

48 bits per pixel, RGB.

Format64BppArgb 

64 bits per pixel, ARGB.

Format64BppPArgb 

64 bits per pixel, ARGB, premultiplied alpha.

Format1bppIndexed 

1 bit per pixel, Indexed.

◆ MetafileRenderingMode

Specifies how Aspose.Words should render WMF and EMF metafiles.

Enumerator
VectorWithFallback 

Aspose.Words tries to render a metafile as vector graphics. If Aspose.Words cannot correctly render some of the metafile records to vector graphics then Aspose.Words renders this metafile to a bitmap.

Vector 

Aspose.Words renders a metafile as vector graphics.

Bitmap 

Aspose.Words invokes GDI+ to render a metafile to a bitmap and then saves the bitmap to the output document.

◆ NumeralFormat

Indicates the symbol set that is used to represent numbers while rendering to fixed page formats.

Enumerator
European 

European numerals: 0123456789.

ArabicIndic 

Numerals used in Arabic: ??????????. Unicode range U+0660 - u+0669.

EasternArabicIndic 

Numerals used in Persian and Urdu: ??????????. Unicode range U+06F0 - u+06F9.

Context 

Symbol set is decided from context(locale and RTL property).

System 

THIS OPTION IS NOT SUPPORTED. Symbol set is decided from regional settings.

◆ OdtSaveMeasureUnit

Specified units of measure to apply to measurable document content such as shape, widths and other during saving.

Enumerator
Centimeters 

Specifies that the document content is saved using centimeters.

Inches 

Specifies that the document content is saved using inches.

◆ OoxmlCompliance

Allows to specify which OOXML specification will be used when saving in the DOCX format.

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.

◆ PdfCompliance

Specifies the PDF standards compliance level.

Enumerator
Pdf15 

The output file will comply with the PDF 1.5 standard.

PdfA1a 

The output file will comply with the PDF/A-1a standard. This level includes all the requirements of PDF/A-1b and additionally requires that document structure be included (also known as being "tagged"), with the objective of ensuring that document content can be searched and repurposed.

Note that exporting the document structure significantly increases the memory consumption, especially for the large documents.

PdfA1b 

The output file will comply with the PDF/A-1b standard. PDF/A-1b has the objective of ensuring reliable reproduction of the visual appearance of the document.

◆ PdfCustomPropertiesExport

Specifies the way Aspose::Words::Document::get_CustomDocumentProperties are exported to PDF file.

Enumerator
None 

No custom properties are exported.

Standard 

Custom properties are exported as entries in /Info dictionary.

Custom properties with the following names are not exported: "Title", "Author", "Subject", "Keywords", "Creator", "Producer", "CreationDate", "ModDate", "Trapped".

Metadata 

Custom properties are Metadata.

The namespace of exported properties in XMP packet is "custprops". Every property has an associated xml-element "custprops:Property1", "custprops:Property2" and so on. There is "rdf:Description" element inside property element. The description element has two elements "custprops:Name", containing custom property's name as a value of this xml-element, and "custprops:Value", containing custom property's value as value of this xml-element.

◆ PdfFontEmbeddingMode

Specifies how Aspose.Words should embed fonts.

Enumerator
EmbedAll 

Aspose.Words embeds all fonts.

EmbedNonstandard 

Aspose.Words embeds all fonts excepting standard Windows fonts Arial and Times New Roman. Only Arial and Times New Roman fonts are affected in this mode because MS Word doesn't embed only these fonts when saving document to PDF.

EmbedNone 

Aspose.Words do not embed any fonts.

◆ PdfImageColorSpaceExportMode

Specifies how the color space will be selected for the images in PDF document.

Enumerator
Auto 

Aspose.Words automatically selects the most appropriate color space for each image.

Most of the images are saved in RGB color space. Also Indexed and Grayscale color spaces may be used. CMYK color space is never used.

For some images the color space may be different on different platforms.

SimpleCmyk 

Aspose.Words coverts RGB images to CMYK color space using simple formula.

Images in RGB color space are converted to CMYK using formula: Black = minimum(1-Red,1-Green,1-Blue). Cyan = (1-Red-Black)/(1-Black). Magenta = (1-Green-Black)/(1-Black). Yellow = (1-Blue-Black)/(1-Black). RGB values are normalized - they are between 0 and 1.0.

◆ PdfImageCompression

Specifies the type of compression applied to images in the PDF file.

Enumerator
Auto 

Automatically selects the most appropriate compression for each image.

Jpeg 

Jpeg compression. Does not support transparency.

◆ PdfPageMode

Specifies how the PDF document should be displayed when opened in the PDF reader.

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.

◆ PdfTextCompression

Specifies a type of compression applied to all content in the PDF file except images.

Enumerator
None 

No compression.

Flate 

Flate (ZIP) compression.

◆ PdfZoomBehavior

Specifies the type of zoom applied to a PDF document when it is opened in a PDF viewer.

Enumerator
None 

How the document is displayed is left to the PDF viewer. Usually the viewer displays the document to fit page width.

ZoomFactor 

Displays the page using the specified zoom factor.

FitPage 

Displays the page so it visible entirely.

FitWidth 

Fits the width of the page.

FitHeight 

Fits the height of the page.

FitBox 

Fits the bounding box (rectangle containing all visible elements on the page).

◆ TiffCompression

Specifies what type of compression to apply when saving page images into a TIFF file.

Enumerator
None 

Specifies no compression.

Rle 

Specifies the RLE compression scheme.

Lzw 

Specifies the LZW compression scheme. In Java emulated by Deflate (Zip) compression.

Ccitt3 

Specifies the CCITT3 compression scheme.

Ccitt4 

Specifies the CCITT4 compression scheme.

◆ TxtExportHeadersFootersMode

Specifies the way headers and footers are exported to plain text format.

Enumerator
None 

No headers and footers are exported.

PrimaryOnly 

Only primary headers and footers are exported at the beginning and end of each section.

It is hard to meaningfully output headers and footers to plain text because it is not paginated.

When this mode is used, only primary headers and footers are exported at the beginning and end of each section.

AllAtEnd 

All headers and footers are placed after all section bodies at the very end of a document.

This mode is similar to Word.