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 >

元素和属性

如果架构定义了特定要求(如 sequenceminOccursmaxOccurschoice),请参阅定义部分。

父元素

元素 类型 说明
Windows
Windows_Type
包含文档的 Window 元素。

子元素

元素 类型 说明
DynamicGridEnabled
DynamicGridEnabled_Type
指定是否为文档或窗口启用动态网格功能。
GlueSettings
GlueSettings_Type
指定在文档中启用粘附时形状粘附到的对象。
ShowConnectionPoints
ShowConnectionPoints_Type
指定是否在窗口中显示连接点。
ShowGrid
ShowGrid_Type
指定是否在绘图窗口中显示网格。
ShowGuides
ShowGuides_Type
指定是否在绘图窗口中显示参考线。
ShowPageBreaks
ShowPageBreaks_Type
指定是否在窗口中显示分页符。
ShowRulers
ShowRulers_Type
指定是否在绘图窗口中显示标尺。
SnapAngles
SnapAngles_Type
包含 SnapAngle 元素的集合。
SnapExtensions
SnapExtensions_Type
指定是为活动窗口启用或禁用特定的对齐扩展设置。
SnapSettings
SnapSettings_Type
指定在窗口中对齐处于活动状态时形状与形状对齐的对象。
模具组
StencilGroup_Type
指定窗口所属的合并模具窗口组。
StencilGroupPos
StencilGroupPos_Type
包含一个整数,该整数指定模具在窗口中的组中的相对位置。
TabSplitterPos
TabSplitterPos_Type
指定绘图窗口的页面选项卡控件的宽度 (为绘图窗口总宽度) 的一小部分。

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
可选
ViewCenterXViewCenterY 在页面上指定新视图 (窗口) 最初打开时假定的中心点。 xsd:double 类型的值。
ViewCenterY
xsd:double
可选
ViewCenterXViewCenterY 在页面上指定新视图 (窗口) 最初打开时假定的中心点。 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 类型的值。