TextField class
Text Import Field Settings. When the object is serialized out as xml, its qualified name is x:textField.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Spreadsheet.TextField
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
textField (Text Import Field Settings)
This element specifies field settings for text import.
Parent Elements |
|---|
textFields (§18.13.11) |
Attributes | Description |
|---|---|
position (Position) | The character position the field starts at for fixed-length fields. The index is 0-based. If this attribute does not exist, position=0 is assumed. Subsequent textField elements or carriage returns in the text stream serve to denote endpoints for text fields. The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype. |
type (Field Type) | Specifies the field Type. When text is imported into cells in the worksheet, the data in the cells are converted to the field type defined here. Types can be specified by the user, or determined algorithmically via heuristics and text analysis. The possible values for this attribute are defined by the ST_ExternalConnectionType simple type (§18.18.27). |
[Note: The W3C XML Schema definition of this element’s content model (CT_TextField) is located in §A.2. end note]
© ISO/IEC29500: 2008.