2.3.4.2.9 CommentEntry_Type
Target namespace: http://schemas.microsoft.com/office/visio/2011/1/core
Referenced by: CommentList_Type
A complex type that specifies properties used to identify a comment in a web drawing.
Attributes:
AuthorID: An xsd:unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that is a value that identifies the author. It MUST be equal to or greater than one.
PageID: An xsd:unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that is a value that identifies the drawing page the comment is on. The comment MUST be contained in the drawing page specified by PageID.
ShapeID: An xsd:unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that is a value that identifies the shape the comment is on. If no ShapeID is specified, the comment refers to the drawing page.
Date: An xsd:dateTime ([XMLSCHEMA2] section 3.2.7) attribute that specifies when a comment was created.
EditDate: An xsd:dateTime ([XMLSCHEMA2] section 3.2.7) attribute that specifies when a comment was last changed. The EditDate MUST be greater than or equal to the value of Date.
Done: An xsd:boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies the current state of the comment. It MUST be equal to zero or one.
CommentID: An xsd:unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that is a unique value that identifies the comment in a drawing page. It MUST be unique amongst all the CommentEntry_Type child elements of the containing CommentList_Type.
AutoCommentType: An xsd:unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that is unused and MUST be ignored.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
-
<xsd:complexType name="CommentEntry_Type"> <xsd:simpleContent> <xsd:extension base="xsd:string"> <xsd:attribute name="AuthorID" type="xsd:unsignedInt" use="required"/> <xsd:attribute name="PageID" type="xsd:unsignedInt" use="required"/> <xsd:attribute name="ShapeID" type="xsd:unsignedInt"/> <xsd:attribute name="Date" type="xsd:dateTime" use="required"/> <xsd:attribute name="EditDate" type="xsd:dateTime"/> <xsd:attribute name="Done" type="xsd:boolean"/> <xsd:attribute name="CommentID" type="xsd:unsignedInt" use="required"/> <xsd:attribute name="AutoCommentType" type="xsd:unsignedInt"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType>