TablePropertiesChange Class
Revision Information for Table Properties.When the object is serialized out as xml, its qualified name is w:tblPrChange.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Wordprocessing.TablePropertiesChange
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<ChildElementInfoAttribute(GetType(PreviousTableProperties))> _
Public Class TablePropertiesChange _
Inherits OpenXmlCompositeElement
用法
Dim instance As TablePropertiesChange
[ChildElementInfoAttribute(typeof(PreviousTableProperties))]
public class TablePropertiesChange : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
- PreviousTableProperties <w:tblPr>
[ISO/IEC 29500-1 第 1 个版本]
17.13.2.34 tblPrChange (Revision Information for Table Properties)
This element specifies the details about a single revision to a set of table properties in a WordprocessingML document.
This element stores this revision as follows:
The child element of this element contains the complete set of table properties which were applied to the parent table before this revision
The attributes of this element contain information about when this revision took place (i.e. when these properties became a 'former' set of table properties).
[Example: Consider a table in a WordprocessingML document which has the associated table style changed from LightList to LightShading, and this change in the table properties is tracked as a revision. This revision would be specified using the following WordprocessingML markup:
<w:tblPr>
<w:tblStyle w:val="LightShading"/>
<w:tblW w:w="0" w:type="auto"/>
<w:tblLook w:val="04A0"/>
<w:tblPrChange w:id="0" w:author="Tristan Davis" w:date="2006-06-01T13:39:00Z">
<w:tblPr>
<w:tblStyle w:val="LightList"/>
<w:tblW w:w="0" w:type="auto"/>
<w:tblLook w:val="04A0"/>
</w:tblPr>
</w:tblPrChange>
</w:tblPr>
The tblPrChange element specifies that there was a revision to the table properties at 2006-06-01 by Tristan Davis, and the previous set of properties on the table was the set specifies in the child tblPr element (including the table style of LightList). end example]
Parent Elements |
---|
tblPr (§17.4.60) |
Child Elements |
Subclause |
---|---|
tblPr (Previous Table Properties) |
§17.4.59 |
Attributes |
Description |
---|---|
author (Annotation Author) |
Specifies the author for an annotation within a WordprocessingML document. If this attribute is omitted, then no author shall be associated with the parent annotation type. [Example: Consider a comment represented using the following WordprocessingML fragment:
The author attribute specifies that the author of the current annotation is Example Author, which can be used as desired. end example] The possible values for this attribute are defined by the ST_String simple type (§22.9.2.13). |
date (Annotation Date) |
Specifies the date information for an annotation within a WordprocessingML document. The use of this information is outside of the scope of ISO/IEC 29500. If this attribute is omitted, then no date information shall be associated with the parent annotation type. [Example: Consider a comment represented using the following WordprocessingML fragment:
The date attribute specifies that the date of the current annotation is January 1st 2006 at 10:00 AM, which can be used as desired. end example] The possible values for this attribute are defined by the ST_DateTime simple type (§17.18.9). |
id (Annotation Identifier) |
Specifies a unique identifier for an annotation within a WordprocessingML document. The restrictions on the id attribute, if any, are defined by the parent XML element. If this attribute is omitted, then the document is non-conformant. [Example: Consider an annotation represented using the following WordprocessingML fragment:
The id attribute specifies that the ID of the current annotation is 1. This value is used to uniquely identify this annotation within the document content. 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_TblPrChange) 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.