Udostępnij za pośrednictwem


CellMerge.VerticalMergeOriginal Property

Definition

vMergeOrig

Represents the following attribute in the schema: w:vMergeOrig

[DocumentFormat.OpenXml.SchemaAttr(23, "vMergeOrig")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.VerticalMergeRevisionValues> VerticalMergeOriginal { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.VerticalMergeRevisionValues> VerticalMergeOriginal { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "vMergeOrig")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.VerticalMergeRevisionValues>? VerticalMergeOriginal { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:vMergeOrig")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.VerticalMergeRevisionValues>? VerticalMergeOriginal { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.VerticalMergeRevisionValues>? VerticalMergeOriginal { get; set; }
member this.VerticalMergeOriginal : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.VerticalMergeRevisionValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "vMergeOrig")>]
member this.VerticalMergeOriginal : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.VerticalMergeRevisionValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:vMergeOrig")>]
member this.VerticalMergeOriginal : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.VerticalMergeRevisionValues> with get, set
Public Property VerticalMergeOriginal As EnumValue(Of VerticalMergeRevisionValues)

Property Value

Returns EnumValue<T>.

Attributes

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

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 rest (not merged).

Consider a two-row by two-column table in which the merged cells in the second column are split, and this change is tracked as a revision. The annotation on the last cell in the table would appear as follows:

<w:tc>  
  <w:tcPr>  
    <w:cellMerge … w:vMergeOrig="cont" />  
  </w:tcPr>  
  …  
</w:tc>  

The vMergeOrig attribute value of cont specifies that the revision on the table cell resulted in it having its vertical merge property removed.

The possible values for this attribute are defined by the ST_AnnotationVMerge simple type.

Applies to