This documentation is archived and is not being maintained.

CellSmartTags Class

Office 2010

Cell Smart Tags.When the object is serialized out as xml, its qualified name is x:cellSmartTags.

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

public class CellSmartTags : OpenXmlCompositeElement

The following table lists the possible child types:

  • CellSmartTag <x:cellSmartTag>

[ISO/IEC 29500-1 1st Edition] cellSmartTags (Cell Smart Tags)

The element is used to label the cell with a smart tag. A cell can be determined to have semantic meaning and the cell containing this data can be labeled with a smart tag. The actions which can be taken depend on the semantic meaning of the data and the actions that the application decides to associate with that type of smart tag.

[Example: If you recently sent mail to "Chad Rothschiller", and you type the name into a cell on the worksheet, the name is recognized and given a smart tag with actions you can take including Send Mail, Schedule a Meeting, Open Contact, or Add to Contacts.

end example]

An application can decide that the smart tag indicators appear in the cell in the worksheet.

This collection represents a collection of smart tags on a cell.

[Example:This example expresses a smart tag associated with cell A1. The @type is used to associate this smart tag with a workbook-level smart tag type defined in the workbook start part.

<cellSmartTags r="A1">
<cellSmartTag type="0"/>

end example]

Parent Elements

smartTags (§

Child Elements


cellSmartTag (Cell Smart Tag)




r (Reference)

Reference to the cell that contains this set of smart tags.

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

[Note: The W3C XML Schema definition of this element’s content model (CT_CellSmartTags) 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.