RevisionFormat Class

Revision Format.When the object is serialized out as xml, its qualified name is x:rfmt.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • DifferentialFormat <x:dxf>

  • ExtensionList <x:extLst>

[ISO/IEC 29500-1 1st Edition]

18.11.1.17 rfmt (Revision Format)

This element represents a revision record of information about a formatting change.

Parent Elements

revisions (§18.11.1.16); rm (§18.11.1.19); rrc (§18.11.1.21)

Child Elements

Subclause

dxf (Formatting)

§18.8.14

extLst (Future Feature Data Storage Area)

§18.2.10

Attributes

Description

length (Length)

The number of characters that were affected by a string change, counting from start.

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

s (Style)

Flag indicating that this formatting change affected a cell's style. (Only applicable for Undo operations).

The possible values for this attribute are defined by the W3C XML Schema boolean 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.

sqref (Sequence Of References)

A worksheet range to which this formatting was applied. [Note: For applications supporting the default grid size (see §18.17.5), full column and row references shall explicitly state the row and column components, e.g., "A1:A1048576" For column "A", and A1:XFD1 for row "1". Applications with larger grid sizes shall interpret these to mean "column A" and "row 1" respectively, for their larger grid size. end note]

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

start (Start index)

An integer representing an index showing which character a string change starts at within the string in the cell.

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

xfDxf (Row or Column Formatting Change)

A Boolean flag indicating that this formatting change had an affect on the formatting of an entire row or column that an affected cell(s) belongs to. (Only applicable for Undo operations)

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_RevisionFormatting) 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

RevisionFormat Members

DocumentFormat.OpenXml.Spreadsheet Namespace