Comment List

Each slide within a presentation may contain zero or more comments. Each slide with at least one comment starts a list of comments for that slide. Each entry in that list is made up of the following pieces of data:

  • Author ID: This represents the ID of the author who created the comment. It matches an entry in the .

  • Date/Time: This represents the date and time of the last modification of this particular comment. Although expressed in UTC, its accuracy is dependent on the state of the machine making the edits.

  • Index: This is the number assigned to this particular comment, and is one of the comments associated with the specified author. This number should be equal to, or less than, the Last Index value for the author in the . There cannot be duplicate Indexes for the same author.

  • Position: This defines the 2D coordinate for the location at which the comment shows up on the slide surface. This is the position of the upper left point of the comment shape.

  • The Text data includes all of the text that makes up the body of the comment. Note that this text is expressed differently than other text as expressed in DrawingML. As this text contains no formatting, and is strictly limited to text input, there is no additional data that needs to be stored.

Here is an example of a comment list for a slide:

<p:cmLst>
  <p:cm authorId="0" dt="2006-01-30T22:45:13.597" idx="3">
    <p:pos x="10" y="10" /> 
    <p:text>Need to check with Mary on exact data values</p:text> 
  </p:cm>
  <p:cm authorId="1" dt="2006-01-30T22:46:22.082" idx="1">
    <p:pos x="106" y="106" /> 
    <p:text>This chart is hard to read from afar</p:text>
  </p:cm>
</p:cmLst>

When the presentation is saved using PresentationML, a separate Comments part is created for each comment list.