Freigeben über


RevisionComment-Klasse

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

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.RevisionComment

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

Syntax

'Declaration
Public Class RevisionComment _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As RevisionComment
public class RevisionComment : OpenXmlLeafElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

18.11.1.11 rcmt (Revision Cell Comment)

This element represents a revision record of a cell comment change.

Parent Elements

revisions (§18.11.1.16)

Attributes

Description

action (User Action)

An enumeration identifying what kind of an operation the user performed on the comment.

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

alwaysShow (Always Show Comment)

A Boolean value indicating that the user has set this comment to always be visible. True if the comment is set to always be visible, false otherwise.

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

author (Author)

A string representing the name of the author who changed this comment.

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

cell (Cell)

An A-1 style reference to the cell where the comment was changed.

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

guid (GUID)

A globally unique identifier of this comment.

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

hiddenColumn (Hidden Column)

A Boolean value indicating that the comment belongs to a cell in a hidden column. True if the comment is in a hidden column, false otherwise.

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

hiddenRow (Comment In Hidden Row)

A Boolean value indicating that the comment belongs to a cell in a hidden row. True if the comment is in a hidden row, false otherwise.

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

newLength (New Comment Length)

Length of the comment text added in this revision.

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

old (Old Comment)

An ignorable Boolean value used for backwards compatibility that indicates that the original comment was created by a legacy spreadsheet application.

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

oldLength (Original Comment Length)

Length of the comment before this revision was made.

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.

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

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

RevisionComment-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace