CommentAuthorList Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.OpenXmlPartRootElement
        DocumentFormat.OpenXml.Presentation.CommentAuthorList

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

Syntax

声明
<ChildElementInfoAttribute(GetType(CommentAuthor))> _
Public Class CommentAuthorList _
    Inherits OpenXmlPartRootElement
用法
Dim instance As CommentAuthorList
[ChildElementInfoAttribute(typeof(CommentAuthor))]
public class CommentAuthorList : OpenXmlPartRootElement

Remarks

The following table lists the possible child types:

  • CommentAuthor <p:cmAuthor>

[ISO/IEC 29500-1 第 1 个版本]

19.4.3 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. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CommentAuthorList Members

DocumentFormat.OpenXml.Presentation Namespace