Search the Catalog
DocBook: The Definitive Guide

DocBook: The Definitive Guide

By Norman Walsh & Leonard Muellner
1st Edition October 1999
1-56592-580-7, Order Number: 5807
652 pages, $36.95 , Includes CD-ROM

ScreenCO

Name

ScreenCO -- A screen with associated areas used in callouts

Synopsis

Content Model

ScreenCO ::=
(AreaSpec,Screen,CalloutList*)

Attributes

Common attributes

Tag Minimization

Both the start- and end-tags are required for this element.

Parameter Entities

%admon.mix;%bookcomponent.content;%component.mix;
%divcomponent.mix;%example.mix;%figure.mix;
%footnote.mix;%glossdef.mix;%indexdivcomponent.mix;
%legalnotice.mix;%linespecific.class;%para.mix;
%qandaset.mix;%refcomponent.mix;%sidebar.mix;
%tabentry.mix;%tbl.entry.mdl;%textobject.mix;

Description

Callouts, such as numbered bullets, are an annotation mechanism. In an online system, these bullets are frequently "hot," and clicking on them navigates to the corresponding annotation.

A ScreenCO is a wrapper around an AreaSpec and a Screen. An AreaSpec identifies the locations (coordinates) in the Screen where the callouts occur. The ScreenCO may also contain the list of annotations in a CalloutList, although the CalloutList may also occur outside of the wrapper, elsewhere in the document.

It is also possible to embed CO elements directly in the verbatim text, in order to avoid the overhead of calculating the correct coordinates. If you decide to follow this route, use a Screen and a CalloutList without the ScreenCO wrapper. A ScreenCO must specify at least one coordinate.

For a complete description of callouts, see Callout.

Processing expectations

Formatted as a displayed block. This element is displayed "verbatim"; whitespace and linebreaks within this element are significant.

The mandatory processing expectations of a ScreenCO are minimal: a system is expected to render the program listing and the callout list, if present.

If explicit CO elements are embedded in a Screen, they must generate appropriate callout marks.

In online environments, the processing system may be able to instantiate the linking relationships between the callout marks in the program listing and the annotations. Some systems may even be able to go a step further and generate the callout marks automatically from the coordinate information, but this level of sophistication is not mandatory.

Children

The following elements occur in ScreenCO: AreaSpec, CalloutList, Screen.

In some contexts, the following elements are allowed anywhere: BeginPage, IndexTerm.

See Also

AreaSpec, CalloutList, CO, GraphicCO, ImageObjectCO, MediaObjectCO, ProgramListingCO

Examples

<!DOCTYPE informalexample PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<informalexample>
<screen>
 Volume in drive C is SYSTEM         Serial number is 2350:717C
 Directory of  C:\

10/17/97   9:04         &lt;DIR>    bin
10/16/97  14:11         &lt;DIR>    DOS            <co id="dos">
10/16/97  14:40         &lt;DIR>    Program Files
10/16/97  14:46         &lt;DIR>    TEMP
10/17/97   9:04         &lt;DIR>    tmp
10/16/97  14:37         &lt;DIR>    WINNT
10/16/97  14:25             119  AUTOEXEC.BAT   <co id="autoexec.bat">
 2/13/94   6:21          54,619  COMMAND.COM    <co id="command.com">
10/16/97  14:25             115  CONFIG.SYS     <co id="config.sys">
11/16/97  17:17      61,865,984  pagefile.sys
 2/13/94   6:21           9,349  WINA20.386     <co id="wina20.386">
</screen>
<calloutlist>
<callout arearefs="dos">
<para>
This directory holds <trademark>MS-DOS</trademark>, the
operating system that was installed before <trademark>Windows
NT</trademark>.
</para>
</callout>

<callout arearefs="autoexec.bat command.com config.sys">
<para>
System startup code for DOS.
</para>
</callout>

<callout arearefs="wina20.386">
<para>
Some sort of <trademark>Windows 3.1</trademark> hack for some 386 processors,
as I recall.
</para>
</callout>
</calloutlist>
</informalexample>

 Volume in drive C is SYSTEM         Serial number is 2350:717C
 Directory of  C:\

10/17/97   9:04         <DIR>    bin
10/16/97  14:11         <DIR>    DOS            (1)
10/16/97  14:40         <DIR>    Program Files
10/16/97  14:46         <DIR>    TEMP
10/17/97   9:04         <DIR>    tmp
10/16/97  14:37         <DIR>    WINNT
10/16/97  14:25             119  AUTOEXEC.BAT   (2)
 2/13/94   6:21          54,619  COMMAND.COM    (3)
10/16/97  14:25             115  CONFIG.SYS     (4)
11/16/97  17:17      61,865,984  pagefile.sys
 2/13/94   6:21           9,349  WINA20.386     (5)
(1)
This directory holds MS-DOS™, the operating system that was installed before Windows NT™.
(2)(3)(4)
System startup code for DOS.
(5)
Some sort of Windows 3.1™ hack for some 386 processors, as I recall.

For additional examples, see also Screen.

Back to: DocBook: The Definitive Guide


oreilly.com Home | O'Reilly Bookstores | How to Order | O'Reilly Contacts
International | About O'Reilly | Affiliated Companies | Privacy Policy

© 2001, O'Reilly & Associates, Inc.