Aspose::Words::Saving::HtmlFixedSaveOptions class

HtmlFixedSaveOptions class

Can be used to specify additional options when saving a document into the HtmlFixed format. To learn more, visit the Specify Save Options documentation article.

class HtmlFixedSaveOptions : public FixedPageSaveOptions

Methods

MethodDescription
HtmlFixedSaveOptions()
get_CssClassNamesPrefix() constSpecifies prefix which is added to all class names in style.css file. Default value is “aw”.
get_Encoding() constSpecifies the encoding to use when exporting to HTML. Default value is new UTF8Encoding(true) (UTF-8 with BOM).
get_ExportEmbeddedCss() constSpecifies whether the CSS (Cascading Style Sheet) should be embedded into Html document.
get_ExportEmbeddedFonts() constSpecifies whether fonts should be embedded into Html document in Base64 format. Note setting this flag can significantly increase size of output Html file.
get_ExportEmbeddedImages() constSpecifies whether images should be embedded into Html document in Base64 format. Note setting this flag can significantly increase size of output Html file.
get_ExportEmbeddedSvg() constSpecifies whether SVG resources should be embedded into Html document. Default value is true.
get_ExportFormFields() constGets or sets indication of whether form fields are exported as interactive items (as ‘input’ tag) rather than converted to text or graphics.
get_FontFormat() constGets or sets ExportFontFormat used for font exporting. Default value is Woff.
get_IdPrefix() constSpecifies a prefix that is prepended to all generated element IDs in the output document. Default value is null and no prefix is prepended.
get_OptimizeOutput() overrideFlag indicates whether it is required to optimize output. If this flag is set redundant nested canvases and empty canvases are removed, also neighbor glyphs with the same formating are concatenated. Note: The accuracy of the content display may be affected if this property is set to true. Default is true.
get_PageHorizontalAlignment() constSpecifies the horizontal alignment of pages in an HTML document. Default value is Center.
get_PageMargins() constSpecifies the margins around pages in an HTML document. The margins value is measured in points and should be equal to or greater than 0. Default value is 10 points.
get_RemoveJavaScriptFromLinks() constSpecifies whether JavaScript will be removed from links. Default is false.
get_ResourceSavingCallback() constAllows to control how resources (images, fonts and css) are saved when a document is exported to fixed page Html format.
get_ResourcesFolder() constSpecifies the physical folder where resources (images, fonts, css) are saved when exporting a document to Html format. Default is null.
get_ResourcesFolderAlias() constSpecifies the name of the folder used to construct image URIs written into an Html document. Default is null.
get_SaveFontFaceCssSeparately() constFlag indicates whether “@font-face” CSS rules should be placed into a separate file “fontFaces.css” when a document is being saved with external stylesheet (that is, when ExportEmbeddedCss is false). Default value is false, all CSS rules are written into single file “styles.css”.
get_SaveFormat() overrideSpecifies the format in which the document will be saved if this save options object is used. Can only be HtmlFixed.
get_ShowPageBorder() constSpecifies whether border around pages should be shown. Default is true.
get_UseTargetMachineFonts() constFlag indicates whether fonts from target machine must be used to display the document. If this flag is set to true, FontFormat and ExportEmbeddedFonts properties do not have effect, also ResourceSavingCallback is not fired for fonts. Default is false.
set_CssClassNamesPrefix(const System::String &)Specifies prefix which is added to all class names in style.css file. Default value is “aw”.
set_Encoding(const System::SharedPtr<System::Text::Encoding> &)Specifies the encoding to use when exporting to HTML. Default value is new UTF8Encoding(true) (UTF-8 with BOM).
set_ExportEmbeddedCss(bool)Specifies whether the CSS (Cascading Style Sheet) should be embedded into Html document.
set_ExportEmbeddedFonts(bool)Specifies whether fonts should be embedded into Html document in Base64 format. Note setting this flag can significantly increase size of output Html file.
set_ExportEmbeddedImages(bool)Specifies whether images should be embedded into Html document in Base64 format. Note setting this flag can significantly increase size of output Html file.
set_ExportEmbeddedSvg(bool)Specifies whether SVG resources should be embedded into Html document. Default value is true.
set_ExportFormFields(bool)Sets indication of whether form fields are exported as interactive items (as ‘input’ tag) rather than converted to text or graphics.
set_FontFormat(Aspose::Words::Saving::ExportFontFormat)Sets ExportFontFormat used for font exporting. Default value is Woff.
set_IdPrefix(const System::String &)Specifies a prefix that is prepended to all generated element IDs in the output document. Default value is null and no prefix is prepended.
set_OptimizeOutput(bool) overrideFlag indicates whether it is required to optimize output. If this flag is set redundant nested canvases and empty canvases are removed, also neighbor glyphs with the same formating are concatenated. Note: The accuracy of the content display may be affected if this property is set to true. Default is true.
set_PageHorizontalAlignment(Aspose::Words::Saving::HtmlFixedPageHorizontalAlignment)Specifies the horizontal alignment of pages in an HTML document. Default value is Center.
set_PageMargins(double)Specifies the margins around pages in an HTML document. The margins value is measured in points and should be equal to or greater than 0. Default value is 10 points.
set_RemoveJavaScriptFromLinks(bool)Specifies whether JavaScript will be removed from links. Default is false.
set_ResourceSavingCallback(const System::SharedPtr<Aspose::Words::Saving::IResourceSavingCallback> &)Allows to control how resources (images, fonts and css) are saved when a document is exported to fixed page Html format.
set_ResourcesFolder(const System::String &)Specifies the physical folder where resources (images, fonts, css) are saved when exporting a document to Html format. Default is null.
set_ResourcesFolderAlias(const System::String &)Specifies the name of the folder used to construct image URIs written into an Html document. Default is null.
set_SaveFontFaceCssSeparately(bool)Flag indicates whether “@font-face” CSS rules should be placed into a separate file “fontFaces.css” when a document is being saved with external stylesheet (that is, when ExportEmbeddedCss is false). Default value is false, all CSS rules are written into single file “styles.css”.
set_SaveFormat(Aspose::Words::SaveFormat) overrideSpecifies the format in which the document will be saved if this save options object is used. Can only be HtmlFixed.
set_ShowPageBorder(bool)Specifies whether border around pages should be shown. Default is true.
set_UseTargetMachineFonts(bool)Flag indicates whether fonts from target machine must be used to display the document. If this flag is set to true, FontFormat and ExportEmbeddedFonts properties do not have effect, also ResourceSavingCallback is not fired for fonts. Default is false.
Equals(System::SharedPtr<System::Object>) overrideDetermines whether the specified object is equal in value to the current object.
get_ColorMode() constGets or sets a value determining how colors are rendered.
get_JpegQuality() constGets or sets a value determining the quality of the JPEG images inside Html document.
get_MetafileRenderingOptions() constAllows to specify metafile rendering options.
get_NumeralFormat() constGets or sets NumeralFormat used for rendering of numerals. European numerals are used by default.
virtual get_OptimizeOutput()Flag indicates whether it is required to optimize output. If this flag is set redundant nested canvases and empty canvases are removed, also neighbor glyphs with the same formatting are concatenated. Note: The accuracy of the content display may be affected if this property is set to true. Default is false.
get_PageSavingCallback() constAllows to control how separate pages are saved when a document is exported to fixed page format.
get_PageSet() constGets or sets the pages to render. Default is all the pages in the document.
set_ColorMode(Aspose::Words::Saving::ColorMode)Sets a value determining how colors are rendered.
set_JpegQuality(int32_t)Sets a value determining the quality of the JPEG images inside Html document.
set_MetafileRenderingOptions(const System::SharedPtr<Aspose::Words::Saving::MetafileRenderingOptions> &)Allows to specify metafile rendering options.
set_NumeralFormat(Aspose::Words::Saving::NumeralFormat)Sets NumeralFormat used for rendering of numerals. European numerals are used by default.
virtual set_OptimizeOutput(bool)Flag indicates whether it is required to optimize output. If this flag is set redundant nested canvases and empty canvases are removed, also neighbor glyphs with the same formatting are concatenated. Note: The accuracy of the content display may be affected if this property is set to true. Default is false.
set_PageSavingCallback(const System::SharedPtr<Aspose::Words::Saving::IPageSavingCallback> &)Allows to control how separate pages are saved when a document is exported to fixed page format.
set_PageSet(const System::SharedPtr<Aspose::Words::Saving::PageSet> &)Sets the pages to render. Default is all the pages in the document.
static CreateSaveOptions(Aspose::Words::SaveFormat)Creates a save options object of a class suitable for the specified save format.
static CreateSaveOptions(const System::String &)Creates a save options object of a class suitable for the file extension specified in the given file name.
get_AllowEmbeddingPostScriptFonts() constGets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false.
get_CustomTimeZoneInfo() constGets or sets custom local time zone used for date/time fields.
get_DefaultTemplate() constGets or sets path to default template (including filename). Default value for this property is empty string.
get_Dml3DEffectsRenderingMode() constGets or sets a value determining how 3D effects are rendered.
virtual get_DmlEffectsRenderingMode()Gets or sets a value determining how DrawingML effects are rendered.
get_DmlRenderingMode() constGets or sets a value determining how DrawingML shapes are rendered.
get_ExportGeneratorName() constWhen true, causes the name and version of Aspose.Words to be embedded into produced files. Default value is true.
get_ImlRenderingMode() constGets or sets a value determining how ink (InkML) objects are rendered.
get_MemoryOptimization() constGets or sets value determining if memory optimization should be performed before saving the document. Default value for this property is false.
get_PrettyFormat() constWhen true, pretty formats output where applicable. Default value is false.
get_ProgressCallback() constCalled during saving a document and accepts data about saving progress.
virtual get_SaveFormat()Specifies the format in which the document will be saved if this save options object is used.
get_TempFolder() constSpecifies the folder for temporary files used when saving to a DOC or DOCX file. By default, this property is null and no temporary files are used.
get_UpdateAmbiguousTextFont() constDetermines whether the font attributes will be changed according to the character code being used.
get_UpdateCreatedTimeProperty() constGets or sets a value determining whether the CreatedTime property is updated before saving. Default value is false;
get_UpdateFields() constGets or sets a value determining if fields of certain types should be updated before saving the document to a fixed page format. Default value for this property is true.
get_UpdateLastPrintedProperty() constGets or sets a value determining whether the LastPrinted property is updated before saving.
get_UpdateLastSavedTimeProperty() constGets or sets a value determining whether the LastSavedTime property is updated before saving.
get_UpdateOleControlImages() constGets a value determining whether OLE controls presentation image will be updated.
get_UseAntiAliasing() constGets or sets a value determining whether or not to use anti-aliasing for rendering.
get_UseHighQualityRendering() constGets or sets a value determining whether or not to use high quality (i.e. slow) rendering algorithms.
set_AllowEmbeddingPostScriptFonts(bool)Sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false.
set_CustomTimeZoneInfo(const System::SharedPtr<System::TimeZoneInfo> &)Sets custom local time zone used for date/time fields.
set_DefaultTemplate(const System::String &)Sets path to default template (including filename). Default value for this property is empty string.
set_Dml3DEffectsRenderingMode(Aspose::Words::Saving::Dml3DEffectsRenderingMode)Sets a value determining how 3D effects are rendered.
virtual set_DmlEffectsRenderingMode(Aspose::Words::Saving::DmlEffectsRenderingMode)Sets a value determining how DrawingML effects are rendered.
set_DmlRenderingMode(Aspose::Words::Saving::DmlRenderingMode)Sets a value determining how DrawingML shapes are rendered.
set_ExportGeneratorName(bool)When true, causes the name and version of Aspose.Words to be embedded into produced files. Default value is true.
set_ImlRenderingMode(Aspose::Words::Saving::ImlRenderingMode)Sets a value determining how ink (InkML) objects are rendered.
set_MemoryOptimization(bool)Sets value determining if memory optimization should be performed before saving the document. Default value for this property is false.
set_PrettyFormat(bool)When true, pretty formats output where applicable. Default value is false.
set_ProgressCallback(const System::SharedPtr<Aspose::Words::Saving::IDocumentSavingCallback> &)Called during saving a document and accepts data about saving progress.
virtual set_SaveFormat(Aspose::Words::SaveFormat)Specifies the format in which the document will be saved if this save options object is used.
set_TempFolder(const System::String &)Specifies the folder for temporary files used when saving to a DOC or DOCX file. By default, this property is null and no temporary files are used.
set_UpdateAmbiguousTextFont(bool)Determines whether the font attributes will be changed according to the character code being used.
set_UpdateCreatedTimeProperty(bool)Sets a value determining whether the CreatedTime property is updated before saving. Default value is false;
set_UpdateFields(bool)Sets a value determining if fields of certain types should be updated before saving the document to a fixed page format. Default value for this property is true.
set_UpdateLastPrintedProperty(bool)Sets a value determining whether the LastPrinted property is updated before saving.
set_UpdateLastSavedTimeProperty(bool)Sets a value determining whether the LastSavedTime property is updated before saving.
set_UpdateOleControlImages(bool)Sets a value determining whether OLE controls presentation image will be updated.
set_UseAntiAliasing(bool)Sets a value determining whether or not to use anti-aliasing for rendering.
set_UseHighQualityRendering(bool)Sets a value determining whether or not to use high quality (i.e. slow) rendering algorithms.

See Also