API Reference

Struct

OdsFormulaValue

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

Immutable scalar formula result.

Inheritance

  • ValueType
  • OdsFormulaValue

Usage

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

Methods

public Boolean AsBoolean() #
Returns: Boolean

Boolean value.

public Double AsNumber() #
Returns: Double

Numeric value.

public String AsText() #
Returns: String

Text or error payload.

public static OdsFormulaValue Boolean(Boolean value) #
Returns: OdsFormulaValue

Creates a Boolean value.

Parameters

value System.Boolean requiredposition: 0
public static OdsFormulaValue Error(String message) #
Returns: OdsFormulaValue

Creates an error value.

Parameters

message System.String requiredposition: 0
public static OdsFormulaValue Number(Double value) #
Returns: OdsFormulaValue

Creates a numeric value.

Parameters

value System.Double requiredposition: 0
public static OdsFormulaValue Text(String value) #
Returns: OdsFormulaValue

Creates a text value.

Parameters

value System.String requiredposition: 0
public override String ToString() #
Returns: String

Properties

public static OdsFormulaValue Empty { get; } #

Empty formula value.

public OdsFormulaValueKind Kind { get; } #

Result kind.