Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

ExcelHtmlSaveOptions

Namespace OfficeIMO.Excel.Html
Assembly OfficeIMO.Excel.Html
Modifiers sealed

Options for exporting Excel workbooks and worksheets to HTML.

Inheritance

  • Object
  • ExcelHtmlSaveOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

Methods

public ExcelHtmlSaveOptions Clone() #
Returns: ExcelHtmlSaveOptions

Creates an independent settings snapshot for one export operation.

public static ExcelHtmlSaveOptions CreateSemanticTablesProfile(OfficeVisualThemeKind theme = WordLike) #
Returns: ExcelHtmlSaveOptions

Creates semantic worksheet-table export settings.

Parameters

theme OfficeIMO.Drawing.OfficeVisualThemeKind = WordLike optionalposition: 0
public static ExcelHtmlSaveOptions CreateVisualReviewProfile(OfficeVisualThemeKind theme = Report) #
Returns: ExcelHtmlSaveOptions

Creates positioned visual-review export settings.

Parameters

theme OfficeIMO.Drawing.OfficeVisualThemeKind = Report optionalposition: 0

Properties

public ExcelHtmlExportProfile ExportProfile { get; set; } #

Excel-to-HTML lane to export. Defaults to semantic worksheet tables.

public OfficeHtmlConversionProfile Profile { get; set; } #

Compatibility bridge to the former cross-format profile enum. New code should use ExportProfile so only Excel profiles are representable.

public HtmlConversionProfile SharedProfile { get; } #

Shared engine profile used by the selected Excel export lane.

public OfficeHtmlDocumentOptions DocumentOutput { get; set; } #

Composed document-versus-fragment, theme, title, language, style, and newline settings.

public OfficeVisualThemeKind Theme { get; set; } #

Compatibility alias for Theme.

public Boolean IncludeDefaultStyles { get; set; } #

Compatibility alias for IncludeDefaultStyles.

public String Title { get; set; } #

Compatibility alias for Title.

public Boolean EmitDocumentShell { get; set; } #

Compatibility alias for EmitDocumentShell.

public String Language { get; set; } #

Compatibility alias for Language.

public String NewLine { get; set; } #

Compatibility alias for NewLine.

public Nullable<Int32> MaxRowsPerSheet { get; set; } #

Maximum number of used-range rows exported per worksheet. Null uses the bounded default.

public Nullable<Int32> MaxColumnsPerSheet { get; set; } #

Maximum number of used-range columns exported per worksheet. Null uses the bounded default.

public Int32 MaxCellsPerSheet { get; set; } #

Maximum number of worksheet cells visited per semantic HTML table.

public Int32 MaxMergedRangesPerSheet { get; set; } #

Maximum number of merged-range records inspected per semantic HTML table.

public String EmptyCellText { get; set; } #

Text used for empty cells.

public ExcelHtmlHeaderMode HeaderMode { get; set; } #

Controls worksheet header semantics. Defaults to FirstRow for compatibility with earlier OfficeIMO HTML output.

public ExcelWorkbookImageExportOptions VisualOptions { get; set; } #

Options used by the existing Excel SVG visual export lane.

public Boolean IncludePivotInventory { get; set; } #

Includes a deterministic semantic inventory for pivot tables. Interactive pivot behavior, caches, slicers, and timelines remain native workbook features and are not executed in HTML.

Fields

public const Int32 DefaultMaxRowsPerSheet #

Default maximum worksheet rows projected to semantic HTML.

Value: 10000
public const Int32 DefaultMaxColumnsPerSheet #

Default maximum worksheet columns projected to semantic HTML.

Value: 1024
public const Int32 DefaultMaxCellsPerSheet #

Default maximum worksheet cells visited while projecting semantic HTML.

Value: 1000000
public const Int32 DefaultMaxMergedRangesPerSheet #

Default maximum merged-range records inspected per worksheet.

Value: 10000