ShapeThe shape element defines the shape of a linkable area in an imagemap.
The shape element supports these values: rect Define a rectangular region. If you leave the shape element blank, this
is assumed. circle Define a circular region. poly Define a polygonal region. default Indicates the entire diagram.
[edit] Example
<area>
<shape>rect</shape>
<coords>54,1,117,60</coords>
<xref href="d1-s2.dita"></xref>
</area>
[edit] Contains
| Doctype
| Content model
|
| ditabase, topic, task, reference, concept, glossary
| ( text data )
|
[edit] Contained by
| Doctype
| Parents
|
| ditabase, topic, task, concept, reference, glossary
| area
|
[edit] Inheritance:
+ topic/keyword ut-d/shape
[edit] Attributes
| Name
| Description
| Data Type
| Default Value
| Required?
|
| translate
| Indicates whether the content of the element should be translated
or not. Setting to "yes" will override the default. The DITA architectural specification contains a list of each OASIS DITA
element and its common processing default for the translate value; because this
element uses an actual default, it will always be treated as translate="no" unless
overridden as described.
| no | -dita-use-conref-target
| "no"
| No
|
| xml:lang
| Specifies the language of the element content. When no xml:lang value
is supplied, the default value of English is assumed. For example, if there
is a note element with the attribute xml:lang set to the value "es,"
then the label on the note, which normally appears as "Note" will now
appear in Spanish as "Nota." The allowed xml:lang values are
based on
RFC 4646 Tags for Identifying Languages (see [[W3C:
Language tags in HTML and XML]]).
| NMTOKEN
| #IMPLIED
| No
|
| dir
| Specifies the directionality of text: left-to-right (ltr, the processing
default) or right-to-left (rtl). See the DITA Architectural Specification
for best practices related to this attribute, and other aspects of DITA and translation.
| rtl | lro | rlo | -dita-use-conref-target)
| #IMPLIED
| No
|
| %id-atts; (id, conref)
| A set of related attributes, described at %id-atts;
| parameter entity
| PE not
applicable
| Not applicable
|
| %select-atts; (props, base, platform, product, audience, otherprops,
importance, rev, status)
| A set of related attributes, described at %select-atts;
| parameter entity
| PE not
applicable
| Not applicable
|
| %global-atts; (xtrf, xtrc)
| A set of related attributes, described at %global-atts;
| parameter entity
| PE not
applicable
| Not applicable
|
| class, outputclass, keyref
| Common attributes described in Other common DITA attributes
|
|
|
|
TOC: Language Specification 1.1
Parent topic: Utilities elements
Previous topic: coords
|
|