Person class

Office 2013 and later

Defines the Person Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is w15:person.

Namespace:  DocumentFormat.OpenXml.Office2013.Word
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

2.5.41 CT_Person

Target namespace: http://schemas.microsoft.com/office/word/2012/wordml

Referenced by: CT_People

The CT_Person complex type<41> specifies contact information for an author of at least one comment or revision in the current document.

Child Elements:

presenceInfo: A CT_PresenceInfo element (section 2.5.43) that specifies uniquely identifying contact information for the person whose name matches the value of the author attribute of this complex type.

Attributes:

author: An ST_String (as specified in [ISO/IEC-29500-1] section 22.9.2.13) attribute that specifies the author name to which this person is associated. The value of this attribute MUST match the Annotation Author (as specified in [ISO/IEC-29500-1] sections 17.13.4.2 and 17.13.5) value of at least one comment or revision in the current document.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_Person">

<xsd:sequence>

<xsd:element name="presenceInfo" type="CT_PresenceInfo" minOccurs="0" maxOccurs="1"/>

</xsd:sequence>

<xsd:attribute name="author" type="w12:ST_String" use="required"/>

</xsd:complexType>

See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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: