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
'Declaration
<ChildElementInfoAttribute(GetType(CommentAuthor))> _
Public Class CommentAuthorList _
Inherits OpenXmlPartRootElement
'Usage
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 1st Edition]
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.
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.