Chapter 10
Style Elements
General ODS Style Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 805
Style Elements Affecting Template-Based Graphics . . . . . . . . . . . . . . . . . . . . . . . . 815
Style Elements Affecting Device-Based Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . 824
General ODS Style Elements
The following table lists all the style elements available for ODS style definitions. The
table provides a brief description of each style element and indicates the style elements
from which it inherits its attributes. An abstract style element is one that is not used to
generate any style element but provides a parent for one or more style elements to
inherit.
Table 10.1 Miscellaneous Style Elements
Style Element Description Inherits from
Miscellaneous
Container
*
Controls all container-oriented
elements
Continued Controls continued flag when a
table breaks across a page
(paginated destinations only)
TitlesAndFooters
ExtendedPage Message when page won't fit
(Printer only)
TitlesAndFooters
PageNo Controls page numbers for
paginated destinations
TitlesAndFooters
Parskip Controls space between tables
in RTF output
TitlesAndFooters
PrePage Controls the ODS RTF/
MEASURED PREPAGE= style
805
Style Element Description Inherits from
Miscellaneous
StartUpFunction This is a Javascript function
that is added to the HTML
output. Any Javascript code in
the TAGATTR= attribute is
executed when the page is
loaded.
ShutDownFunction Controls the Shut-Down
function. This is a Javascript
function that is added to the
HTML output. Any Javascript
code in the TAGATTR=
attribute is executed when the
page is exited.
UserText Controls the ODS TEXT= style Note
*
An abstract style element. Abstract elements are not explicitly used in the ODS output. They are used for
inheritance purposes only. Because of this, abstract styles will not appear in the output of destinations that
generate a style sheet.
Table 10.2 Style Elements Affecting Documents
Style Element Description Inherits from
Documents
Document Controls the various document
bodies. This generally includes
things like the page background
color and page margins.
Container
*
Body Controls the Body file Document
Frame Controls the Frame file for
HTML
Document
Contents Controls the Contents file Document
Pages Controls the Page file Document
*
An abstract style element. Abstract elements are not explicitly used in the ODS output. They are used for
inheritance purposes only. Because of this, abstract styles will not appear in the output of destinations that
generate a style sheet.
806 Chapter 10 Style Elements
Table 10.3 Style Elements Affecting Dates
Style Element Description Inherits from
Dates
BodyDate Controls the date field in the
Contents file
ContentsDate
Date Controls how date fields look
Container
*
PagesDate Controls the date field in the
Pages file
Date
*
An abstract style element. Abstract elements are not explicitly used in the ODS output. They are used for
inheritance purposes only. Because of this, abstract styles will not appear in the output of destinations that
generate a style sheet.
Table 10.4 Style Elements Affecting Table of Contents and Table of Pages
Style Element Description Inherits from
Table of Contents and Table of Pages
IndexItem Controls list items and folders
for Contents and Pages
Container
*
ContentFolder Controls the folders in the
Contents file
IndexItem
ByContentFolder Controls the byline folders in
the Contents file
ContentFolder
ContentItem Controls the items in the
Contents file
IndexItem
PagesItem Controls the items in the Pages
file
IndexItem
Index Controls miscellaneous
Contents and Pages
components
Container
*
IndexProcName Controls the PROC name in the
Contents and Pages files
Index
*
ContentProcName Controls the PROC name in the
Contents file
IndexProcName
ContentProcLabel Controls the PROC label in the
Contents file
ContentProcName
PagesProcName Controls the PROC name in the
Pages file
IndexProcName
General ODS Style Elements 807

Get SAS 9.4 Output Delivery System, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.