2.3.4.2.62 Master_Type
Target namespace: http://schemas.microsoft.com/office/visio/2011/1/core
Referenced by: Masters_Type
A complex type that specifies a master in a web drawing.
Child Elements:
PageSheet: A PageSheet_Type element that specifies the properties of the drawing page associated with the master.
Rel: A Rel_Type element that specifies a relationship to the corresponding Master XML Part.
Icon: An Icon_Type element that is unused and MUST be ignored.
Attributes:
ID: An xsd:unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the unique one-based index of the master. It MUST be equal to or greater than one. It MUST be unique amongst all the Master_Type and MasterShortcut_Type child elements of the containing Masters_Type.
BaseID: An xsd:string ([XMLSCHEMA2] section 3.2.1) attribute that specifies a GUID which identifies the master across web drawings.
UniqueID: An xsd:string ([XMLSCHEMA2] section 3.2.1) attribute that specifies a GUID which identifies the master within a web drawing. It MUST be different than any other UniqueID attribute of a Master_Type in the same web drawing.
MatchByName: An xsd:boolean ([XMLSCHEMA2] section 3.2.2) 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 the master.
NameU: An xsd:string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the language-independent name of a master.
IsCustomName: An xsd:boolean ([XMLSCHEMA2] section 3.2.2) attribute that is unused an MUST be ignored.
IsCustomNameU: An xsd:boolean ([XMLSCHEMA2] section 3.2.2) attribute that is unused an MUST be ignored.
IconSize: An xsd:unsignedShort ([XMLSCHEMA2] section 3.3.23) attribute that is unused and MUST be ignored.
PatternFlags: An xsd:unsignedShort ([XMLSCHEMA2] section 3.3.23) attribute that specifies whether and how a master behaves as a custom pattern. If present, it MUST be equal to a value from the following table.
Value |
Description |
---|---|
1 |
Specifies a line pattern where multiple copies of the pattern are bent to follow the line. |
2 |
Specifies a line end pattern where the line end is positioned in the direction of the line. |
65 |
Specifies a line pattern where multiple copies of the pattern are bent to follow the line and the pattern is scaled based on the scale of the drawing page. |
1026 |
Specifies a line end pattern where the line end is in the direction of the line and the pattern is scaled based on the scale of the drawing page. |
4100 |
Specifies a fill pattern where a single copy of the pattern is placed at the center of the shape. |
20484 |
Specifies a fill pattern where a single copy of the pattern is placed at the center of the shape and the pattern is scaled based on the scale of the drawing page. |
Any other value |
Specifies that the master does not behave as a custom pattern. |
Prompt: An xsd:string ([XMLSCHEMA2] section 3.2.1) attribute that is unused and MUST be ignored.
Hidden: An xsd:boolean ([XMLSCHEMA2] section 3.2.2) attribute that is unused and MUST be ignored.
IconUpdate: An xsd:boolean ([XMLSCHEMA2] section 3.2.2) attribute is unused and that MUST be ignored.
AlignName: An xsd:unsignedShort ([XMLSCHEMA2] section 3.3.23) attribute that is unused and MUST be ignored.
MasterType: An xsd:unsignedShort ([XMLSCHEMA2] section 3.3.23) 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="Master_Type"> <xsd:all> <xsd:element name="PageSheet" type="PageSheet_Type" minOccurs="0" maxOccurs="1"/> <xsd:element name="Rel" type="Rel_Type" minOccurs="1" maxOccurs="1"/> <xsd:element name="Icon" type="Icon_Type" minOccurs="0" maxOccurs="1"/> </xsd:all> <xsd:attribute name="ID" type="xsd:unsignedInt" use="required"/> <xsd:attribute name="BaseID" type="xsd:string"/> <xsd:attribute name="UniqueID" type="xsd:string"/> <xsd:attribute name="MatchByName" type="xsd:boolean"/> <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="IconSize" type="xsd:unsignedShort"/> <xsd:attribute name="PatternFlags" type="xsd:unsignedShort"/> <xsd:attribute name="Prompt" type="xsd:string"/> <xsd:attribute name="Hidden" type="xsd:boolean"/> <xsd:attribute name="IconUpdate" type="xsd:boolean"/> <xsd:attribute name="AlignName" type="xsd:unsignedShort"/> <xsd:attribute name="MasterType" type="xsd:unsignedShort"/> </xsd:complexType>