Click or drag to resize

MamlExportOptions Class

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

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

The MamlExportOptions type exposes the following members.

Constructors
 NameDescription
Public methodMamlExportOptionsInitializes a new instance of the MamlExportOptions class
Top
Properties
 NameDescription
Public propertyBodyTextFontFamily Gets or sets the font family of the body text that later on is rendered out of the Maml 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 Maml file. We need this here because we have to convert the formulas to images, and need therefore the image size.
Public propertyContentFileNameBase Gets or sets the base name of .aml files. This property is ignored if the OutputFileName itself is a .aml file.
Public propertyContentFolderName Name of the folder relative to the help file builder project, in which the content (.aml and .content) is stored. This property is ignored when the OutputFileName is not a Sandcastle help file builder project file.
Public propertyEnableAutoOutline If true, an outline of the content will be included at the top of every Maml file.
Public propertyEnableHtmlEscape 
Public propertyEnableLinkToNextSection If true, a link to the next section is inserted at the end of each maml document.
Public propertyEnableLinkToPreviousSection If true, a link to the previous section is inserted at the beginning of each maml document.
Public propertyEnableRemoveOldContentsOfContentFolder If set to true, all .aml files and all .content files residing in the content folder are deleted before exporting the new image files.
Public propertyEnableRemoveOldContentsOfImageFolder If set to true, all files residing in the image folder are deleted before exporting the new image files.
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 sandcastle project file is located.
Public propertyIsIntendedForHtmlHelp1File Set this field to true if the Maml is indended to be used in a Help1 file. In such a file, the placement of images with align="middle" differs from HTML rendering (the text baseline is aligned with the middle of the image, whereas in HTML the middle of the text is aligned with the middle of the image).
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 propertyOpenHelpFileBuilder If true, the Help file builder application is opened after the maml files were exported.
Public propertyOutputFileName Gets or sets the output file. This is preferably a Sandcastle help file builder project file, but can also be a layout content file (.content) or a Maml file (.aml).
Public propertyRenumerateFigures If true, the figures are renumerated before the markdown document is exported.
Public propertySplitLevel The header level where to split the output into different MAML 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 Maml 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 MAML files. 0 = render in only one file. 1 = Split at header level 1, 2 = split at header level 2, and so on.
Public fieldStatic memberPropertyKeyMamlExportOptions 
Top
See Also