[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
ST_FrameScrollbar (Frame Scrollbar Visibility)
This simple type specifies the possible settings for when a scrollbar shall be visible for the contents of the current frame.
[Example: Consider a WordprocessingML document which serves as the frameset container for a frameset consisting of the following three frames:
The frameset properties for this document are specified by the following WordprocessingML within the web page settings:
<w:frameset>
…
<w:frameset>
…
<w:frame>
<w:name w:val="Frame 2" />
<w:scrollbar w:val="auto" />
</w:frame>
…
</w:frameset>
</w:frameset>
The scrollbar element has a val attribute of auto, which specifies that the frame shall only display a scrollbar when it is needed to display all of its content. end example]
This simple type's contents are a restriction of the XML Schema string datatype.
The following are possible enumeration values for this type:
Enumeration Value |
Description |
auto (Automatically Show Scrollbar As Needed) |
Specifies that the scrollbar for a frame shall automatically be hidden and/or displayed as needed based on the length of the contents. |
off (Never Show Scrollbar) |
Specifies that the scrollbar for a frame shall always be hidden. |
on (Always Show Scrollbar) |
Specifies that the scrollbar for a frame shall always be displayed (even when not needed). |
Referenced By |
scrollbar@val (§2.15.2.37) |
The following XML Schema fragment defines the contents of this simple type:
<simpleType name="ST_FrameScrollbar">
<restriction base="xsd:string">
<enumeration value="on"/>
<enumeration value="off"/>
<enumeration value="auto"/>
</restriction>
</simpleType>