共用方式為


RevisionMove Class

Revision Cell Move.When the object is serialized out as xml, its qualified name is x:rm.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.RevisionMove

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Undo))> _
<ChildElementInfoAttribute(GetType(RevisionCellChange))> _
<ChildElementInfoAttribute(GetType(RevisionFormat))> _
Public Class RevisionMove _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As RevisionMove
[ChildElementInfoAttribute(typeof(Undo))]
[ChildElementInfoAttribute(typeof(RevisionCellChange))]
[ChildElementInfoAttribute(typeof(RevisionFormat))]
public class RevisionMove : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Undo <x:undo>

  • RevisionCellChange <x:rcc>

  • RevisionFormat <x:rfmt>

[ISO/IEC 29500-1 1st Edition]

18.11.1.19 rm (Revision Cell Move)

This element represents a revision record on a cell(s) that moved.

Parent Elements

revisions (§18.11.1.16)

Child Elements

Subclause

rcc (Revision Cell Change)

§18.11.1.9

rfmt (Revision Format)

§18.11.1.17

undo (Undo)

§18.11.1.25

Attributes

Description

destination (Destination)

New A1 style location of the cell(s) that were moved

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

ra (Revision Undo Rejected)

A Boolean flag which indicates that this revision was due to a previous undo (ua) revision being rejected.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

rId (Revision Id)

An integer representing the number of this revision. This id shall apply to reviewable revision types only.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

sheetId (Sheet Id)

An integer representing the internal id of the sheet on which the revision occurred.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

source (Source)

The original A1 style location of the cell(s) that were moved

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

sourceSheetId (Source Sheet Id)

An integer representing the internal id of the sheet where the cell(s) originally resided.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

ua (Revision From Rejection)

A Boolean flag indicating that this revision occurred because another revision was rejected and therefore undone.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

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

© ISO/IEC29500: 2008.

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

RevisionMove Members

DocumentFormat.OpenXml.Spreadsheet Namespace