Поделиться через


ColumnDelimiter Class

Column Delimiter for Data Source.When the object is serialized out as xml, its qualified name is w:colDelim.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.UnsignedDecimalNumberType
        DocumentFormat.OpenXml.Wordprocessing.ColumnDelimiter

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

Syntax

'Декларация
Public Class ColumnDelimiter _
    Inherits UnsignedDecimalNumberType
'Применение
Dim instance As ColumnDelimiter
public class ColumnDelimiter : UnsignedDecimalNumberType

Remarks

[ISO/IEC 29500-1 редакция 1]

17.14.5 colDelim (Column Delimiter for Data Source)

This element specifies the character which shall be interpreted as the column delimiter used to separate columns within external data sources. The character representing the specific delimiter used for the external data source referenced by a source or merged WordprocessingML document is specified via a decimal number representing the decimal number for the Unicode character representation within this element's val attribute.

If this element is omitted, then no column delimiter shall be specified for the data source in this mail merge.

[Example: Consider the following WordprocessingML fragment:

<w:colDelim w:val="44" />

Here, the colDelim element's val attribute specifies that the given external data source is using the comma character (,) to delimit column data, as 44 is the decimal value for the Unicode character representation of a comma. end Example]

Parent Elements

odso (§17.14.25)

Attributes

Description

val (Decimal Number Value)

Specifies that the contents of this attribute contains a decimal number.

The contents of this decimal number are interpreted based on the context of the parent XML element.

[Example: Consider the following numeric WordprocessingML property of simple type ST_DecimalNumber:

<… w:val="1512645511" />

The value of the val attribute is a decimal number whose value must be interpreted in the context of the parent element. end example]

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

[Note: The W3C XML Schema definition of this element's content model (CT_DecimalNumber) is located in §A.1. end note]

© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и 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

ColumnDelimiter Members

DocumentFormat.OpenXml.Wordprocessing Namespace