TableStyleRowBandSize Class
Defines the TableStyleRowBandSize Class.When the object is serialized out as xml, its qualified name is w:tblStyleRowBandSize.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.UnsignedDecimalNumberMax3Type
DocumentFormat.OpenXml.Wordprocessing.TableStyleRowBandSize
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
Public Class TableStyleRowBandSize _
Inherits UnsignedDecimalNumberMax3Type
用法
Dim instance As TableStyleRowBandSize
public class TableStyleRowBandSize : UnsignedDecimalNumberMax3Type
Remarks
[ISO/IEC 29500-1 第 1 个版本]
17.7.4.7 tblStyleRowBandSize (Number of Rows in Row Band)
This element specifies the number of rows which shall comprise each a table style row band for this table style. This element determines how many rows constitute each of the row bands for the current table, allowing row band formatting to be applied to groups of rows (rather than just single alternating rows) when the table is formatted.
If this element is omitted, then the default number of rows in a single row band shall be assumed to be 1.
[Example: Consider a table style defined as follows:
<w:style w:type="table" w:styleId="exampleTableStyle">
<w:tblPr>
<w:tblStyleRowBandSize w:val="3" />
<w:tblStyleColBandSize w:val="2" />
</w:tblPr>
…
</w:style>
The tblStyleRowBandSize element specifies that the width of each row band must be 3 columns - therefore band1Horiz row banding conditional formatting must be applied to row 1 through 3, 7 through 9, etc. in the table. end example]
Parent Elements |
---|
tblPr (§17.4.60); tblPr (§17.4.59); tblPr (§17.7.6.4); tblPr (§17.7.6.3) |
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:
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. 以上摘要已经由 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.