ExternalCell Class

External Cell Data.When the object is serialized out as xml, its qualified name is x:cell.

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

[ChildElementInfoAttribute(typeof(Xstring))]
public class ExternalCell : OpenXmlCompositeElement

The following table lists the possible child types:

  • Xstring <x:v>


[ISO/IEC 29500-1 1st Edition]

18.14.1 cell (External Cell Data)

This element is used to store cached values from external sources such as other workbooks. Formulas from external cells are not stored in the consuming workbook. Also, for this context, the attribute t cannot have a value of inlineStr. Rich text is not supported in this context either.

Parent Elements

row (§18.14.12)

Child Elements

Subclause

v (Cell Value)

§18.3.1.96

Attributes

Description

r (Reference)

Describes the cell location in the external book.

[Example:


<cell r="B12">
<v>74</v>
</cell>


end example]

The possible values for this attribute are defined by the ST_CellRef simple type (§18.18.7).

t (Type)

Indicates the data type of the cell value.

The possible values for this attribute are defined by the ST_CellType simple type (§18.18.11).

vm (Value Metadata)

The index of the cell's value metadata, if any exists.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_ExternalCell) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show: