DdeLink class
DDE Connection. When the object is serialized out as xml, its qualified name is x:ddeLink.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Spreadsheet.DdeLink
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
ddeLink (DDE Connection)
This element represents a connection to an external Dynamic Data Exchange () server. is a method of sending data between applications using Windows messages according to a documented protocol that has been stable since about 1990.
The hierarchy of names defined by a server is Application, Topics, and Items. Topics often correspond to units such as files or documents or database names, and Items refer to subsets of the data such as cell ranges, rows, fields, columns. items can have multiple values as well.
[Example:
Data connectivity can use a number of different technologies.The following is just one example of a spreadsheetML fragment describing the product Microsoft Excel being used as a server to provide data to the current spreadsheet document:
<ddeLink xmlns:r="…" ddeService="excel" ddeTopic="[ddesource.xls]Sheet1">
<ddeItems>
<ddeItem name="R1C1" advise="1"/>
<ddeItem name="StdDocumentName" ole="1" advise="1"/>
</ddeItems>
</ddeLink>end example]
Parent Elements |
|---|
externalLink (§18.14.8) |
Child Elements | Subclause |
|---|---|
ddeItems (DDE Items Collection) | §18.14.3 |
Attributes | Description |
|---|---|
ddeService (Service name) | Service name (i.e., application name) for the connection. This is a required attribute. The possible values for this attribute are defined by the ST_Xstring simple type (§22.9.2.19). |
ddeTopic (Topic for DDE server) | Describes something for the application to which the channel pertains— usually a document of that application. This is a required attribute. The possible values for this attribute are defined by the ST_Xstring simple type (§22.9.2.19). |
[Note: The W3C XML Schema definition of this element’s content model (CT_DdeLink) is located in §A.2. end note]
© ISO/IEC29500: 2008.