13.3.2 Comments Part

Content Type:

application/vnd.openxmlformats-officedocument.presentationml.comments+xml

Root Namespace:

http://purl.oclc.org/ooxml/presentationml/main

Source Relationship:

http://purl.oclc.org/ooxml/officeDocument/relationships/comments

An instance of this part type contains the comments for a single slide. Each comment is tied to its author via an author-ID. Each comment’s index number and author-ID combination are unique.

A package shall contain one Comments part for each slide containing one or more comments, and each of those parts shall be the target of an implicit relationship from its corresponding Slide (13.3.8) part.

[Example: The following Slide part-relationship item contains a relationship to a Comments part, which is stored in the ZIP item ../comments/comment2.xml:

<Relationships xmlns="…">
  <Relationship Id="rId4"
    Type="http://…/comments"
    Target="../comments/comment2.xml"/>
</Relationships>

end example]

The root element for a part of this content type shall be cmLst .

[Example: The Comments part contains three comments, two created by one author, and one created by another, all at the dates and times shown. The index numbers are assigned on a per-author basis, starting at 1 for an author’s first comment:

<p:cmLst xmlns:p="…" >
  <p:cm authorId="0" dt="2005-11-13T17:00:22.071" idx="1">
    <p:pos x="4486" y="1342"/>
    <p:text>Comment text goes here.</p:text>
  </p:cm>
  <p:cm authorId="0" dt="2005-11-13T17:00:34.849" idx="2">
    <p:pos x="3607" y="1867"/>
    <p:text>Another comment's text goes here.</p:text>
  </p:cm>
  <p:cm authorId="1" dt="2005-11-15T00:06:46.919" idx="1">
    <p:pos x="1493" y="2927"/>
    <p:text>comment …</p:text>
  </p:cm>
</p:cmLst>

end example]

A Comments part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).

A Comments part shall not have implicit or explicit relationships to any other part defined by ISO/IEC 29500.

Last updated on