Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Struct

OdsCellValue

Namespace OfficeIMO.OpenDocument
Assembly OfficeIMO.OpenDocument
Source revision 804a7612eee4 with working tree changes
Base ValueType
Modifiers sealed

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

Inheritance

  • ValueType
  • OdsCellValue

Usage

Explore 4 API references to this type

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

Returned or exposed by 4

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

Returns the fully qualified type name of this instance.

Returns

The fully qualified type name.

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.