API Reference

Class

LegacyXlsImportDiagnostic

Namespace OfficeIMO.Excel.LegacyXls.Diagnostics
Assembly OfficeIMO.Excel
Modifiers sealed

Describes an import issue, unsupported feature, or compatibility note discovered in a legacy XLS file.

Inheritance

  • Object
  • LegacyXlsImportDiagnostic

Usage

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

Constructors

public LegacyXlsImportDiagnostic(LegacyXlsDiagnosticSeverity severity, String code, String message, String sheetName = null, Nullable<Int32> recordOffset = null, Nullable<UInt16> recordType = null, String detailCode = null, String formulaContext = null, Nullable<Byte> formulaToken = null, Nullable<Int32> formulaTokenOffset = null, String formulaTokenName = null) #

Creates a diagnostic for a legacy XLS import issue or feature note.

Parameters

severity OfficeIMO.Excel.LegacyXls.Diagnostics.LegacyXlsDiagnosticSeverity requiredposition: 0
Diagnostic severity.
code System.String requiredposition: 1
Stable diagnostic code.
message System.String requiredposition: 2
Human-readable diagnostic message.
sheetName System.String = null optionalposition: 3
Optional worksheet name associated with the diagnostic.
recordOffset System.Nullable{System.Int32} = null optionalposition: 4
Optional byte offset of the related BIFF record.
recordType System.Nullable{System.UInt16} = null optionalposition: 5
Optional BIFF record type identifier.
detailCode System.String = null optionalposition: 6
Optional stable detail key for grouped import reports.
formulaContext System.String = null optionalposition: 7
Optional formula source context associated with formula-token diagnostics.
formulaToken System.Nullable{System.Byte} = null optionalposition: 8
Optional BIFF formula token byte associated with formula-token diagnostics.
formulaTokenOffset System.Nullable{System.Int32} = null optionalposition: 9
Optional zero-based parsed-expression token offset associated with formula-token diagnostics.
formulaTokenName System.String = null optionalposition: 10
Optional BIFF formula token name associated with formula-token diagnostics.

Methods

public override String ToString() #
Returns: String

Returns a compact diagnostic string for logs and test output.

Properties

public LegacyXlsDiagnosticSeverity Severity { get; } #

Gets the diagnostic severity.

public String Code { get; } #

Gets the stable diagnostic code.

public String Message { get; } #

Gets the human-readable diagnostic message.

public String SheetName { get; } #

Gets the worksheet name associated with the diagnostic, when known.

public Nullable<Int32> RecordOffset { get; } #

Gets the byte offset of the related BIFF record, when known.

public Nullable<UInt16> RecordType { get; } #

Gets the BIFF record type identifier, when known.

public String DetailCode { get; } #

Gets a stable detail key for report grouping, when available.

public String FormulaContext { get; } #

Gets the formula source context associated with a formula-token diagnostic, when available.

public Nullable<Byte> FormulaToken { get; } #

Gets the BIFF formula token byte associated with a formula-token diagnostic, when available.

public String FormulaTokenName { get; } #

Gets the BIFF formula token name associated with a formula-token diagnostic, when available.

public Nullable<Int32> FormulaTokenOffset { get; } #

Gets the zero-based offset of FormulaToken within the parsed-expression token stream, when available.