<cellMerge>
(Vertically Merged/Split Table Cells)
This element specifies that the vertical merge state of the parent table cell has been modified while revisions were being tracked for the document. The @vmerge
and @vmergeOrig
attributes on this element specify the original and revised vertical merge states of the table cell.
If this table has the two cells in the second column merged into one and this modification is tracked as a revision, as follows:
The resulting WordprocessingML for the revision would appear as follows:
<w:tbl> … <w:tr> <w:tc> <w:r> <w:t>One</w:t> </w:r> </w:tc> <w:tc> <w:r> <w:t>Two</w:t> </w:r> </w:tc> </w:tr> <w:tr> <w:tc> <w:r> <w:t>Three</w:t> </w:r> </w:tc> <w:tc> <w:tcPr> <w:cellMerge w:id="0" w:vmerge="cont"/> </w:tcPr> <w:r> <w:t>Four</w:t> </w:r> </w:tc> </w:tr> </w:tbl>
The <cellMerge>
element specifies that changes were made to the vertical merge settings of the last cell in the table, specifically; the cell was vertically merged with the cell above it (gaining a revised @vmerge
attribute value of cont
). ]
Attributes |
Description |
---|---|
|
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. <w:… w:id="1" w:author="Example Author"> … </w:…> The The possible values for this attribute are defined by the ST_String simple type (§2.18.89). |
|
Specifies the date information for an annotation within a WordprocessingML document. The use of this information is outside of the scope of this Office Open XML Standard. If this attribute is omitted, then no date information shall be associated with the parent annotation type. <w:… w:id="1" w:date="2006-01-01T10:00:00"> … </w:…> The The possible values for this attribute are defined by the ST_DateTime simple type (§2.18.15). |
|
Specifies a unique identifier for an annotation within a WordprocessingML document. The restrictions on the If this attribute is omitted, then the document is non-conformant. <w:… w:id="1" … > … </w:…> The The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16). |
|
Specifies the vertical merge setting which was applied to the parent table cell by this revision. If this attribute is omitted, then no revised vertical merge setting is supplied for this revision (if neither this nor the <w:tc> <w:tcPr> <w:cellMerge … w:vmerge="cont" /> </w:tcPr> … </w:tc> The The possible values for this attribute are defined by the ST_AnnotationVMerge simple type (§2.18.3). |
|
Specifies the vertical merge setting which was removed from the parent table cell by this revision. If this attribute is omitted, then the original vertical merge setting shall be assumed to be <w:tc> <w:tcPr> <w:cellMerge … w:vmergeOrig="cont" /> </w:tcPr> … </w:tc> The The possible values for this attribute are defined by the ST_AnnotationVMerge simple type (§2.18.3). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_CellMergeTrackChange">
<complexContent>
<extension base="CT_TrackChange">
<attribute name="vMerge" type="ST_AnnotationVMerge" use="optional"/>
<attribute name="vMergeOrig" type="ST_AnnotationVMerge" use="optional"/>
</extension>
</complexContent>
</complexType>