complexType) (Visio XML) (Windows_Type Window 元素
代表 Microsoft Visio 實例中開啟的視窗。 此元素包含當 Visio 一開始開啟檔案時,在應用程式工作區中完全重新建立使用者介面視窗所需的資訊。
|
值 |
項目類型
|
Window_Type
|
Namespace
|
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,請參閱定義一節。
父元素
子元素
屬性
屬性 |
類型 |
Required |
描述 |
可能值 |
容器
|
xsd:unsignedInt
|
選用
|
容器的標識碼:頁面、工作表或主圖形。 只有在指定 ContainerType 時才需要相關且必要。 |
xsd:unsignedInt 類型的值。 |
ContainerType
|
xsd:token
|
選用
|
可能是下列其中一個值:文件、頁面或主圖形。 只有在 WindowType 指定為 Drawing 或 Sheet 時才相關。 |
xsd:token 類型的值。 |
Document
|
xsd:string
|
選用
|
這個視窗中顯示之檔案的檔案路徑。 |
xsd:string 類型的值。 |
識別碼
|
xsd:unsignedInt
|
必要
|
專案在其父元素內的唯一標識碼。 |
xsd:unsignedInt 類型的值。 |
主圖形
|
xsd:unsignedInt
|
選用
|
如果此視窗顯示主圖形,則為主要標識碼。 |
xsd:unsignedInt 類型的值。 |
頁面
|
xsd:unsignedInt
|
選用
|
如果此視窗顯示頁面,則為頁面標識碼。 只有在 WindowType 指定為 Drawing 且 ContainerType 指定為 Page 時才相關。 |
xsd:unsignedInt 類型的值。 |
ParentWindow
|
xsd:unsignedInt
|
選用
|
包含此樣板視窗的視窗識別碼。 只有在 WindowType 指定為樣板時才相關。 |
xsd:unsignedInt 類型的值。 |
ReadOnly
|
xsd:boolean
|
選用
|
如果此樣板不是文件樣板,則為唯讀旗標。 |
xsd:boolean 類型的值。 |
工作表
|
xsd:unsignedInt
|
選用
|
容器中工作表的標識碼。 只有在容器指定為 Sheet 時才相關。 |
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 類型的值。 |