Window 元素 (Windows_Type complexType) (Visio XML)
代表 Microsoft Visio 实例中打开的窗口。 当 Visio 最初打开文件时,此元素包含在应用程序工作区中精确重新创建用户界面窗口所需的信息。
|
值 |
元素类型
|
Window_Type
|
命名空间
|
http://schemas.microsoft.com/office/visio/2012/main
|
架构文件
|
VisioSchema15.xsd
|
文档部件
|
windows.xml
|
定义
< xs:element name="Window" type="Window_Type" minOccurs="0" maxOccurs="unbounded" >
</xs:element >
元素和属性
如果架构定义了特定要求(如 sequence、 minOccurs、 maxOccurs 和 choice),请参阅定义部分。
父元素
子元素
Attributes
属性 |
类型 |
必需 |
说明 |
可能的值 |
容器
|
xsd:unsignedInt
|
可选
|
容器的 ID:Page、Sheet 或 Master。 仅当指定 ContainerType 时才相关且必要。 |
xsd:unsignedInt 类型的值。 |
ContainerType
|
xsd:token
|
可选
|
可以是以下值之一:Document、Page 或 Master。 仅当 WindowType 指定为“绘图”或“工作表”时相关。 |
xsd:token 类型的值。 |
文档
|
xsd:string
|
可选
|
此窗口中显示的文档的文件路径。 |
xsd:string 类型的值。 |
ID
|
xsd:unsignedInt
|
必需
|
元素在其父元素中的唯一 ID。 |
xsd:unsignedInt 类型的值。 |
Master
|
xsd:unsignedInt
|
可选
|
如果此窗口显示主控形状,则为主机 ID。 |
xsd:unsignedInt 类型的值。 |
页面
|
xsd:unsignedInt
|
可选
|
如果此窗口显示页面,则页面 ID。 仅当 WindowType 指定为 Drawing 且 ContainerType 被指定为 Page 时才相关。 |
xsd:unsignedInt 类型的值。 |
ParentWindow
|
xsd:unsignedInt
|
可选
|
包含此模具窗口的窗口的 ID。 仅当 WindowType 指定为模具时才相关。 |
xsd:unsignedInt 类型的值。 |
ReadOnly
|
xsd:boolean
|
可选
|
如果此模具不是文档模具,则为只读标志。 |
xsd:boolean 类型的值。 |
Sheet
|
xsd:unsignedInt
|
可选
|
容器中工作表的 ID。 仅当容器被指定为工作表时相关。 |
xsd:unsignedInt 类型的值。 |
ViewCenterX
|
xsd:double
|
可选
|
ViewCenterX 和 ViewCenterY 在页面上指定新视图 (窗口) 最初打开时假定的中心点。 |
xsd:double 类型的值。 |
ViewCenterY
|
xsd:double
|
可选
|
ViewCenterX 和 ViewCenterY 在页面上指定新视图 (窗口) 最初打开时假定的中心点。 |
xsd:double 类型的值。 |
ViewScale
|
xsd:double
|
可选
|
打开页面的新视图 (窗口) 时使用的默认放大系数。 例如,1 = 100%;1.5 = 150%,依此而行。 |
xsd:double 类型的值。 |
WindowHeight
|
xsd:unsignedInt
|
可选
|
窗口矩形的高度。 |
xsd:unsignedInt 类型的值。 |
WindowLeft
|
xsd:short
|
可选
|
窗口矩形的左坐标。 |
xsd:short 类型的值。 |
WindowState
|
xsd:unsignedInt
|
可选
|
指定位标志的整数。 |
xsd:unsignedInt 类型的值。 |
WindowTop
|
xsd:short
|
可选
|
窗口矩形的顶部坐标。 |
xsd:short 类型的值。 |
WindowType
|
xsd:token
|
必需
|
枚举值,可以是下列值之一:绘图、工作表、模具或图标。 |
xsd:token 类型的值。 |
WindowWidth
|
xsd:unsignedInt
|
可选
|
窗口矩形的宽度。 |
xsd:unsignedInt 类型的值。 |