API Reference

Struct

OdsCellValue

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

An immutable typed ODS cell value retaining its invariant lexical form.

Inheritance

  • ValueType
  • OdsCellValue

Usage

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

Returned or exposed by

Methods

public Boolean AsBoolean() #
Returns: Boolean

Parses the value as a boolean.

public DateTimeOffset AsDateTimeOffset() #
Returns: DateTimeOffset

Parses the value as an ODF date or date-time.

public Decimal AsDecimal() #
Returns: Decimal

Parses the value as a decimal.

public Double AsDouble() #
Returns: Double

Parses the value as a double.

public TimeSpan AsTimeSpan() #
Returns: TimeSpan

Parses the ODF duration used for time and duration cells.

public override String ToString() #
Returns: String

Properties

public static OdsCellValue Empty { get; } #

Empty value.

public OdsCellValueKind Kind { get; } #

Logical value kind.

public String LexicalValue { get; } #

Invariant value as stored in the ODF attribute.

public String DisplayText { get; } #

Displayed text stored in cell paragraphs, when available.

public String CurrencyCode { get; } #

Currency code for currency values.