Export (0) Print
Expand All

RsidRoot class

Original Document Revision Save ID. When the object is serialized out as xml, its qualified name is w:rsidRoot.

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

public class RsidRoot : LongHexNumberType

[ISO/IEC 29500-1 1st Edition]

rsidRoot (Original Document Revision Save ID)

This element specifies the revision save ID which was associated with the first editing session for this document. [Note: This information must be identical between any number of copies of the same document, as they all originate from the same original editing session. Applications can use this information as desired. end note]

If this element is omitted, then the original document revision save ID is unknown.

[Example: Consider the following fragments from two WordprocessingML documents' document settings:

Document 1

Document 2

<w:rsids>
  <w:rsidRoot w:val="00464813"/>
  <w:rsid w:val="00455AAB" />
  <w:rsid w:val="00464813" />
  <w:rsid w:val="00996E03" />
</w:rsids>
<w:rsids>
  <w:rsidRoot w:val="00464813"/>
    <w:rsid w:val="00455AAB" />
    <w:rsid w:val="00464813" />
    <w:rsid w:val="00473403" />
    <w:rsid w:val="0048414E" />
</w:rsids>

The rsidRoot element's val attribute has a value of 00464813 for both documents, indicating that these documents, although they are now separate, originated from the same document. This information can be used as desired. end example]

Parent Elements

rsids (§17.15.1.72)

Attributes

Description

val (Long Hexadecimal Number Value)

Specifies a number value specified as a four digit hexadecimal number), whose contents of this decimal number are interpreted based on the context of the parent XML element.

[Example: Consider the following value for an attribute of simple type ST_LongHexNumber: 00BE2C6C.

This value is permitted, as it contains four hexadecimal digits, each an encoding of an octet of the actual decimal number value. It can therefore be interpreted as desired in the context of the parent XML element, end example]

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

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

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft