<workbookView> (Workbook View)

This element specifies a single Workbook view.

Units for window widths and other dimensions are expressed in twips. Twip measurements are portable between different display resolutions. The formula is (screen pixels) * (20 * 72) / (logical device dpi), where the logical device dpi can be different for x and y coordinates.

Parent Elements

<bookViews>3.2.1)

Child Elements

Subclause

<extLst> (Future Feature Data Storage Area)

§3.2.10

Attributes

Description

<activeTab> (Active Sheet Index)

Specifies an unsignedInt that contains the index to the active sheet in this book view.

The default value for this attribute is 0.

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

<autoFilterDateGrouping> (AutoFilter Date Grouping)

Specifies a boolean value that indicates whether to group dates when presenting the user with filtering options in the user interface.

A value of on, 1, or true indicates that dates are grouped.

A value of off, 0, or false indicates that dates are not grouped.

The default value for this attribute is true.

The possible values for this attribute are defined by the XML Schema boolean datatype.

<firstSheet> (First Sheet)

Specifies the index to the first sheet in this book view.

The default value for this attribute is 0.

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

<minimized> (Minimized)

Specifies a boolean value that indicates whether the book window is minimized.

A value of on, 1, or true indicates the book window is minimized.

A value of off, 0, or false indicates the book window is not minimized.

The default value for this attribute is false.

The possible values for this attribute are defined by the XML Schema boolean datatype.

<showHorizontalScroll> (Show Horizontal Scroll)

Specifies a boolean value that indicates whether to display the horizontal scroll bar in the user interface.

A value of on, 1, or true indicates that the horizontal scrollbar shall be shown.

A value of off, 0, or false indicates that the horizontal scrollbar shall not be shown.

The default value for this attribute is true.

The possible values for this attribute are defined by the XML Schema boolean datatype.

<showSheetTabs> (Show Sheet Tabs)

Specifies a boolean value that indicates whether to display the sheet tabs in the user interface.

A value of on, 1, or true indicates that sheet tabs shall be shown.

A value of off, 0, or false indicates that sheet tabs shall not be shown.

The default value for this attribute is true.

The possible values for this attribute are defined by the XML Schema boolean datatype.

<showVerticalScroll> (Show Vertical Scroll)

Specifies a boolean value that indicates whether to display the vertical scroll bar.

A value of on, 1, or true indicates the vertical scrollbar shall be shown.

A value of off, 0, or false indicates the vertical scrollbar shall not be shown.

The default value for this attribute is true.

The possible values for this attribute are defined by the XML Schema boolean datatype.

<tabRatio> (Sheet Tab Ratio)

Specifies ratio between the workbook tabs bar and the horizontal scroll bar.

The default value for this attribute is 600.

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

<visibility> (Visibility)

Specifies visible state of the book window.

The default value for this attribute is "visible."

The possible values for this attribute are defined by the ST_Visibility simple type (§3.18.91).

<windowHeight> (Window Height)

Specifies the height of the workbook window. The unit of measurement for this value is twips.

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

<windowWidth> (Window Width)

Specifies the width of the workbook window. The unit of measurement for this value is twips.

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

<xWindow> (Upper Left Corner (X Coordinate))

Specifies the X coordinate for the upper left corner of the book window. The unit of measurement for this value is twips.

The possible values for this attribute are defined by the XML Schema int datatype.

<yWindow> (Upper Left Corner (Y Coordinate))

Specifies the Y coordinate for the upper left corner of the book window. The unit of measurement for this value is twips.

The possible values for this attribute are defined by the XML Schema int datatype.

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_BookView">
	<sequence>
	<element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
	</sequence>
	<attribute name="visibility" type="ST_Visibility" use="optional" default="visible"/>
	<attribute name="minimized" type="xsd:boolean" use="optional" default="false"/>
	<attribute name="showHorizontalScroll" type="xsd:boolean" use="optional" default="true"/>
	<attribute name="showVerticalScroll" type="xsd:boolean" use="optional" default="true"/>
	<attribute name="showSheetTabs" type="xsd:boolean" use="optional" default="true"/>
	<attribute name="xWindow" type="xsd:int" use="optional"/>
	<attribute name="yWindow" type="xsd:int" use="optional"/>
	<attribute name="windowWidth" type="xsd:unsignedInt" use="optional"/>
	<attribute name="windowHeight" type="xsd:unsignedInt" use="optional"/>
	<attribute name="tabRatio" type="xsd:unsignedInt" use="optional" default="600"/>
	<attribute name="firstSheet" type="xsd:unsignedInt" use="optional" default="0"/>
	<attribute name="activeTab" type="xsd:unsignedInt" use="optional" default="0"/>
	<attribute name="autoFilterDateGrouping" type="xsd:boolean" use="optional" default="true"/>
</complexType>