The "display-atts" attribute group includes attributes whose values may be used for affecting the display of a topic or element.
Name | Description | Data Type | Default Value | Required? |
---|---|---|---|---|
scale | Specifies a percentage, selected from an enumerated list,
that is used to resize fonts in relation to the normal text size.
This attribute is primarily useful for print-oriented
display.
The scale attribute provides an acknowledged style-based property directly on DITA elements. For the table and fig elements, the intent of the property is to allow authors to adjust font sizes on the content of the containing element, primarily for print accomodation. An image in these contexts is to be scaled only by its own direct scale property. If not specifically scaled, such an image is unchanged by the scale property of its parent table or fig. Some DITA processors or output formats may not be able to support all values. |
(50 | 60 | 70 | 80 | 90 | 100 | 110 | 120 | 140 | 160 | 180 | 200 | -dita-use-conref-target) | #IMPLIED | No |
frame | Specifies which portion of a border should surround the
element. Allowable values are:
Some DITA processors or output formats may not be able to support all values. |
(top | bottom | topbot | all | sides | none | -dita-use-conref-target) | #IMPLIED | No |
expanse | Determines the horizontal placement of the element.
Allowable values are:
In DITA tables, in place of the expanse attribute used by other DITA elements, the pgwide attribute is used in order to conform to the OASIS Exchange Table Model. This attribute has a similar semantic (1=page width; 0=resize to galley or column). Some DITA processors or output formats may not be able to support all values. |
(page | column | textline | spread | -dita-use-conref-target) | #IMPLIED | No |
The "display-atts" attribute group is used within the DITA DTDs and schemas as a common definition for attributes that affect presentation of certain elements. A typical example might be:
<codeblock scale="90" frame="topbot" expanse="page"> /* a long sample program */ Do forever Say "Hello, World" End </codeblock>
Return to main page.
DITA v1.2 CD 04
Copyright © OASIS Open 2005, 2010. All Rights Reserved.