CellSmartTag Class
Cell Smart Tag.When the object is serialized out as xml, its qualified name is x:cellSmartTag.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Spreadsheet.CellSmartTag
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(CellSmartTagProperties))> _
Public Class CellSmartTag _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As CellSmartTag
[ChildElementInfoAttribute(typeof(CellSmartTagProperties))]
public class CellSmartTag : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
- CellSmartTagProperties <x:cellSmartTagPr>
[ISO/IEC 29500-1 1st Edition]
18.3.1.5 cellSmartTag (Cell Smart Tag)
Single smart tag associated with a cell. There can be more than one cellSmartTag for a cell.
Parent Elements |
---|
cellSmartTags (§18.3.1.7) |
Child Elements |
Subclause |
---|---|
cellSmartTagPr (Smart Tag Properties) |
§18.3.1.6 |
Attributes |
Description |
---|---|
deleted (Deleted) |
Boolean flag indicating that the application shouldn't display a particular smart tag in the cell. [Example: When the user has chosen to explicitly remove the Smart Tag by interacting with the application's user interface. end example] The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
type (Smart Tag Type Index) |
Book-level zero-based index of the smart tag type. This index references a <smartTagType> element in the <smartTagTypes> collection in the workbook start part. The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype. |
xmlBased (XML Based) |
Boolean flag indicating the Smart Tag recognition is triggered because the cell is associated with an XML map (schema-based semantic recognition), as contrasted with the more usual cell-content-based recognition of smart tags. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
[Note: The W3C XML Schema definition of this element’s content model (CT_CellSmartTag) is located in §A.2. 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.