CommentAuthorList class

Office 2013 and later

List of Comment Authors. The root element of CommentAuthorsPart. When the object is serialized out as xml, its qualified name is p:cmAuthorLst.

Namespace:  DocumentFormat.OpenXml.Presentation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

[ChildElementInfoAttribute(typeof(CommentAuthor))]
public class CommentAuthorList : OpenXmlPartRootElement

[ISO/IEC 29500-1 1st Edition]

cmAuthorLst (List of Comment Authors)

This element specifies a list of authors with comments in the current document. Each comment in a document shall refer to an author in this list. To determine if a new author is in this list, the author's name and initials shall both match; otherwise, the new author is considered unique and a separate cmAuthor element is added.

[Example: A document contains comments left by two authors.

<p:cmAuthorLst>
    <p:cmAuthor id="0" name="Julie Lee" initials="JL" lastIdx="1" clrIdx="0"/>
    <p:cmAuthor id="1" name="Fred Jones" initials="FJ" lastIdx="2" clrIdx="1"/>
</p:cmAuthorLst>

end example]

Parent Elements

Root element of PresentationML Comment Authors part

Child Elements

Subclause

cmAuthor (Comment Author)

§19.4.2

[Note: The W3C XML Schema definition of this element’s content model (CT_CommentAuthorList) is located in §A.3. end note]

© ISO/IEC29500: 2008.

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: