CommentEx class

Office 2013 and later

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

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

[OfficeAvailabilityAttribute(FileFormatVersions.Office2013)]
public class CommentEx : OpenXmlLeafElement

2.5.39 CT_CommentEx

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

Referenced by: CT_CommentsEx

The CT_CommentEx complex type<39> specifies additional information for a single comment in the current document.

Attributes:

paraId: An ST_LongHexNumber (as specified by [ISO/IEC-29500-1] section 17.18.50) attribute that specifies the paraId (section 2.4.1) of the last paragraph in the associated comment.

paraIdParent: An ST_LongHexNumber (as specified by [ISO/IEC-29500-1] section 17.18.50) attribute that specifies the paraId (section 2.4.1) of the last paragraph in the comment to which the associated comment is a reply.

done: An ST_OnOff (as specified in [ISO/IEC-29500-1] section 22.9.2.7) attribute that specifies whether the associated comment is marked as done. A value of 1 specifies that a user has indicated that this comment is done. A value of 0 specifies that a user has not indicated that this comment is done. The default value for this attribute is 0.

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

<xsd:complexType name="CT_CommentEx">

<xsd:attribute name="paraId" type="w12:ST_LongHexNumber" use="required"/>

<xsd:attribute name="paraIdParent" type="w12:ST_LongHexNumber" use="optional"/>

<xsd:attribute name="done" type="w12:ST_OnOff" use="optional"/>

</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: