Click or drag to resize

HtmlExportOptions Class

Options to export a TextDocument into one or multiple Html file(s), including all the referenced graphs and local images.
Inheritance Hierarchy
SystemObject
  Altaxo.TextHtmlExportOptions

Namespace: Altaxo.Text
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class HtmlExportOptions : ICloneable

The HtmlExportOptions type exposes the following members.

Constructors
 NameDescription
Public methodHtmlExportOptionsInitializes a new instance of the HtmlExportOptions class
Top
Properties
 NameDescription
Public propertyBodyTextFontFamily Gets or sets the font family of the body text that later on is rendered out of the Html file. We need this here because we have to convert the formulas to images, and need therefore the image size.
Public propertyBodyTextFontSize Gets or sets the font size of the body text that later on is rendered out of the Html file. We need this here because we have to convert the formulas to images, and need therefore the image size.
Public propertyEnableHtmlEscape 
Public propertyEnableLinkToNextSection If true, a link to the next section is inserted at the end of each Html document.
Public propertyEnableLinkToPreviousSection If true, a link to the previous section is inserted at the beginning of each Html document.
Public propertyEnableLinkToTableOfContents If true, a link to the next section is inserted at the end of each Html document.
Public propertyEnableRemoveOldContentsOfImageFolder If set to true, all files residing in the image folder are deleted before exporting the new image files.
Public propertyEnableRemoveOldContentsOfOutputFolder If set to true, all .html files residing in the output directory will be removed before exporting.
Public propertyExpandChildDocuments If true, included child documents are expanded before the markdown document is processed.
Public propertyImageFolderName Gets or sets the name of the image folder. This folder, for instance 'Image', is relative to the folder where the output file(s) are located.
Public propertyLinkToNextSectionLabelText Gets or sets the text that is inserted immediately before the link to the next section.
Public propertyLinkToPreviousSectionLabelText Gets or sets the text that is inserted immediately before the link to the next section.
Public propertyLinkToTableOfContentsLabelText Gets or sets the text that is inserted immediately before the link to the next section.
Public propertyOpenHtmlViewer If true, the default Htlm viewer application is opened after the Html files were exported.
Public propertyOutputFileName Gets or sets the output file. This is the base name, which is amended with numbers.
Public propertyRenumerateFigures If true, figures will be renumerated and the links to those figures updated.
Public propertySplitLevel The header level where to split the output into different Html files. 0 = render in only one file. 1 = Split at header level 1, 2 = split at header level 2, and so on.
Top
Methods
 NameDescription
Public methodClone 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExport Exports the specified TextDocument to an external markdown file.
Public methodStatic memberExportShowDialog Exports the TextDocument to a markdown file, showing first the file save dialog.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberShowGetOutputFileDialog Gets the output file by showing a save file dialog.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected field_bodyTextFontFamily Gets or sets the font family of the body text that later on is rendered out of the Html file. We need this here because we have to convert the formulas to images, and need therefore the image size.
Protected field_imageFolderName Name of the folder relative to the markdown document, in which the images (graphs and local images) are stored.
Protected field_splitLevel The header level where to split the output into different Html files. 0 = render in only one file. 1 = Split at header level 1, 2 = split at header level 2, and so on.
Public fieldStatic memberPropertyKeyHtmlExportOptions 
Top
See Also