CellSmartTags Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.CellSmartTags

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

Syntax

声明
<ChildElementInfoAttribute(GetType(CellSmartTag))> _
Public Class CellSmartTags _
    Inherits OpenXmlCompositeElement
用法
Dim instance As CellSmartTags
[ChildElementInfoAttribute(typeof(CellSmartTag))]
public class CellSmartTags : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • CellSmartTag <x:cellSmartTag>

[ISO/IEC 29500-1 第 1 个版本]

18.3.1.7 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"/>
</cellSmartTags>

end example]

Parent Elements

smartTags (§18.3.1.90)

Child Elements

Subclause

cellSmartTag (Cell Smart Tag)

§18.3.1.5

Attributes

Description

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. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。

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

CellSmartTags Members

DocumentFormat.OpenXml.Spreadsheet Namespace