ExternalData Class

External Data Relationship.When the object is serialized out as xml, its qualified name is c:externalData.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Charts.ExternalData

Namespace:  DocumentFormat.OpenXml.Drawing.Charts
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(AutoUpdate))> _
Public Class ExternalData _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ExternalData
[ChildElementInfoAttribute(typeof(AutoUpdate))]
public class ExternalData : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • AutoUpdate <c:autoUpdate>

[ISO/IEC 29500-1 1st Edition]

21.2.2.63 externalData (External Data Relationship)

This element specifies the relationship to the data for this chart.

The data can be linked, pointing to a spreadsheet in another file. Or, the data can be embedded, contained in a separate part within the same xml package containing the chart. In this case, it shall be stored as an embedded Spreadsheet object in Office Open XML format.

This is not used by a spreadsheet application as the spreadsheet application can maintain its own reference to the data in the spreadsheet via the formula <f> element.

Parent Elements

chartSpace (§21.2.2.29)

Child Elements

Subclause

autoUpdate (Update Automatically)

§21.2.2.8

Attributes

Description

id (Relationship Reference)

Namespace: .../officeDocument/2006/relationships

Specifies the relationship ID for the relationship for this chart. The relationship explicitly targeted by this attribute shall be of type https://schemas.openxmlformats.org/officeDocument/2006/relationships/package.

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

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

© ISO/IEC29500: 2008.

Thread Safety

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

See Also

Reference

ExternalData Members

DocumentFormat.OpenXml.Drawing.Charts Namespace