OfficeIMO

API Reference

Struct

ExcelCellContext

Namespace OfficeIMO.Excel
Assembly OfficeIMO.Excel
Base ValueType
Modifiers sealed

Describes a cell's raw OpenXML data for custom conversion hooks.

Inheritance

  • ValueType
  • ExcelCellContext

Constructors

public ExcelCellContext(Nullable<CellValues> typeHint, Nullable<UInt32> styleIndex, String rawText, String inlineText, CultureInfo culture) #

Creates a description of the original OpenXML cell and culture for conversion.

Parameters

typeHint System.Nullable{DocumentFormat.OpenXml.Spreadsheet.CellValues} requiredposition: 0
styleIndex System.Nullable{System.UInt32} requiredposition: 1
rawText System.String requiredposition: 2
inlineText System.String requiredposition: 3
culture System.Globalization.CultureInfo requiredposition: 4

Properties

public Nullable<CellValues> TypeHint { get; } #

OpenXML cell type hint, if present.

public Nullable<UInt32> StyleIndex { get; } #

Cell style index as defined in the workbook, if present.

public String RawText { get; } #

Raw shared/inline text value when present.

public String InlineText { get; } #

Inline string content when present.

public CultureInfo Culture { get; } #

Culture to use for parsing numbers/dates.