2.3.4.2.88 ShapeSheet_Type

Target namespace: http://schemas.microsoft.com/office/visio/2011/1/core

Referenced by: Shapes_Type

A complex type that specifies a collection of properties associated with a shape.

Child Elements:

Cell: A Cell_Type element that specifies a single property.

Trigger: A Trigger_Type element that specifies the existence of an update trigger associated with the sheet.

Section: A Section_Type element that specifies a collection of related properties.

Text: A Text_Type element that specifies the text of a shape. It is unused and MUST be ignored when contained in a StyleSheet_Type, DocumentSheet_Type, or PageSheet_Type.

Data1: A Data_Type element that is unused and MUST be ignored.

Data2: A Data_Type element that is unused and MUST be ignored.

Data3: A Data_Type element that is unused and MUST be ignored.

ForeignData: A ForeignData_Type element that specifies picture data, such as a metafile, bitmap (BMP), or fallback image. It is unused and MUST be ignored when the Type attribute does not equal "Foreign".

Shapes: A Shapes_Type element that specifies a collection of subshapes of the shape.

Attributes:

ID: An xsd:unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the unique one-based index of the shape. It MUST be greater than or equal to 4. It MUST be unique amongst all the ShapeSheet_Type child elements of the containing Shapes_Type.

OriginalID: An xsd:unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that is unused and MUST be ignored.

Del: An xsd:boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether a shape which is an instance of a master is deleted locally. It MUST be equal to zero or one.

MasterShape: An xsd:unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies a relationship between a subshape on a drawing page and a subshape of a master shape. It MUST be equal to the ID attribute of a ShapeSheet_Type element of a master shape.  If the Master attribute is present, MasterShape is unused and MUST be ignored.

UniqueID: An xsd:string ([XMLSCHEMA2] section 3.2.1) attribute that is unused and MUST be ignored.

Name: An xsd:string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the language-dependent name of a shape.

NameU: An xsd:string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the language-independent name of a shape.

IsCustomName: An xsd:boolean ([XMLSCHEMA2] section 3.2.2) attribute that is unused and MUST be ignored.

IsCustomNameU: An xsd:boolean ([XMLSCHEMA2] section 3.2.2) attribute that is unused and MUST be ignored.

Master: An xsd:unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the master of the shape. It MUST be equal to the ID attribute of a Master_Type element.

Type: An xsd:token ([XMLSCHEMA2] section 3.3.2) attribute that specifies the type of the shape. It MUST be equal to a value from the following table.

Value

Description

Group

This MUST be the value of the attribute if the shape specified by this element has subshapes.

Guide

Specifies that the shape is not shown.

Foreign

Specifies that the data specified in this element’s ForeignData element is shown.

Shape

Specifies that the shape does not meet any of the previous conditions.

LineStyle: An xsd:unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the identifier of the style sheet from which to inherit line formatting. It MUST be the value of the ID attribute associated with a StyleSheet_Type in the web drawing.

FillStyle: An xsd:unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the identifier of the style sheet from which to inherit fill formatting. It MUST be the value of the ID attribute associated with a StyleSheet_Type in the web drawing.

TextStyle: An xsd:unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the identifier of the style sheet from which to inherit text formatting. It MUST be the value of the ID attribute associated with a StyleSheet_Type in the web drawing.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="ShapeSheet_Type">
   <xsd:complexContent>
     <xsd:extension base="Sheet_Type">
       <xsd:sequence>
         <xsd:element name="Text" type="Text_Type" minOccurs="0" maxOccurs="1"/>
         <xsd:element name="Data1" type="Data_Type" minOccurs="0" maxOccurs="1"/>
         <xsd:element name="Data2" type="Data_Type" minOccurs="0" maxOccurs="1"/>
         <xsd:element name="Data3" type="Data_Type" minOccurs="0" maxOccurs="1"/>
         <xsd:element name="ForeignData" type="ForeignData_Type" minOccurs="0" maxOccurs="1"/>
         <xsd:element name="Shapes" type="Shapes_Type" minOccurs="0" maxOccurs="1"/>
       </xsd:sequence>
       <xsd:attribute name="ID" type="xsd:unsignedInt" use="required"/>
       <xsd:attribute name="OriginalID" type="xsd:unsignedInt"/>
       <xsd:attribute name="Del" type="xsd:boolean"/>
       <xsd:attribute name="MasterShape" type="xsd:unsignedInt"/>
       <xsd:attribute name="UniqueID" type="xsd:string"/>
       <xsd:attribute name="Name" type="xsd:string"/>
       <xsd:attribute name="NameU" type="xsd:string"/>
       <xsd:attribute name="IsCustomName" type="xsd:boolean"/>
       <xsd:attribute name="IsCustomNameU" type="xsd:boolean"/>
       <xsd:attribute name="Master" type="xsd:unsignedInt"/>
       <xsd:attribute name="Type" type="xsd:token"/>
     </xsd:extension>
   </xsd:complexContent>
 </xsd:complexType>