[Table of Contents] [docx version]

PresentationML Reference Material - Table of Contents

cm (Comment)

This element specifies a single comment attached to a slide. It contains the text of the comment, its position on the slide, and attributes referring to its author and date.

[Example:

<p:cm authorId="0" dt="2006-08-28T17:26:44.129" idx="1">

<p:pos x="10" y="10"/>

<p:text>Add diagram to clarify.</p:text>

</p:cm>

End example]

Parent Elements

cmLst4.5.4)

 

Child Elements

Subclause

extLst (Extension List with Modification Flag)

§4.2.4

pos (Comment Position)

§4.5.5

text (Comment's Text Content)

§4.5.6

 

Attributes

Description

authorId (Comment Author ID)

This attribute specifies the author of the comment. It refers to the ID of an author in the comment author list for the document.

 

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

dt (Comment Date/Time)

This attribute specifies the date and time this comment was last modified.

 

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

idx (Comment Index)

This attribute specifies an identifier for this comment that is unique within a list of all comments by this author in this document. An author's first comment in a document has index 1.

 

[Note: Because the index is unique only for the comment author, a document may contain multiple comments with the same index created by different authors. End note]

 

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

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Comment">

   <sequence>

   <element name="pos" type="a:CT_Point2D" minOccurs="1" maxOccurs="1"/>

   <element name="text" type="xsd:string" minOccurs="1" maxOccurs="1"/>

   <element name="extLst" type="CT_ExtensionListModify" minOccurs="0" maxOccurs="1"/>

   </sequence>

   <attribute name="authorId" type="xsd:unsignedInt" use="required"/>

   <attribute name="dt" type="xsd:dateTime" use="optional"/>

   <attribute name="idx" type="ST_Index" use="required"/>

</complexType>