CommentList Class
Comment List. It is the root element of SlideCommentsPart.When the object is serialized out as xml, its qualified name is p:cmLst.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.OpenXmlPartRootElement
DocumentFormat.OpenXml.Presentation.CommentList
Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
<ChildElementInfoAttribute(GetType(Comment))> _
Public Class CommentList _
Inherits OpenXmlPartRootElement
'Применение
Dim instance As CommentList
[ChildElementInfoAttribute(typeof(Comment))]
public class CommentList : OpenXmlPartRootElement
Remarks
The following table lists the possible child types:
- Comment <p:cm>
[ISO/IEC 29500-1 редакция 1]
19.4.4 cmLst (Comment List)
This element specifies a list of comments for a particular slide.
[Example: A slide contains two comments, each left by a different author. This example demonstrates that two comments can have the same index if they are created by different authors.
<p:cmLst>
<p:cm authorId="0" dt="2006-08-28T17:26:44.129" idx="1">
<p:pos x="10" y="10"/>
<p:text>Add diagram to clarify.</p:text>
</p:cm>
<p:cm authorId="1" dt="2006-08-28T17:44:19.679" idx="1">
<p:pos x="1426" y="660"/>
<p:text>Clean up this text.</p:text>
</p:cm>
</p:cmLst>
end example]
Parent Elements |
---|
Root element of PresentationML Comments part |
Child Elements |
Subclause |
---|---|
cm (Comment) |
§19.4.1 |
[Note: The W3C XML Schema definition of this element's content model (CT_CommentList) is located in §A.3. end note]
© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и 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.