Figure 69: DTD-diagram for GRAPHIC

Child elements
none
parent elements
<figure> <formula>

Attributes for GRAPHIC
Name
Type
Class
Value
Remark
[CATEGORY]
nmtkgrp
implied
BARCODE CONCEPTUAL ENGINEERING FLOWCHART GRAPH LOGO SCHEMATIC WAVEFORM
 
[FILENAME]
cdata
required
   
[FIT]
number
default
0
 
[HEIGHT]
cdata
implied
   
[NOTATION]
cdata
required
   
[S]
cdata
implied
   
[SCALE]
cdata
implied
   
[WIDTH]
cdata
implied
   
Description   The treatment of the graphic is determined by the attributes of <graphic>:

Do not enter annotating text to <long-name>in<figure> or <table>(like Figure 1: ...). This embellishment is the task of the processing system, not of the author. If the author adds these things, they will be there twice since the rendition system will add it again.

[category]
Denotes the category of the graphic. This information can be used to generate more specific list of figures
[filename]
Denotes the system filename where the rendition system can find the graphic. This is not necessarily the final format. It is up to the rendition system to locate the graphic in the company specific environment, to change the file extension to get the appropriate graphic representation.
The type of this attribute can be turned from SDATA toENTITY in the DTD file in order to allow SGML tools access to the file using its entity manager. In this case, the entity name should be chosen in the style of a filename (e.g. crpctmt.wmf).
[fit]

0
figure is placed in original size. If it does not fit on the page or the available space, it is scaled down.
1
the figure is scaled up or down to fit the page as possible. This value will be ignored if [width] or [height] is specified in addition.
2
the figure is rotated counterclockwise by 90o if it is landscape and is wider than the actual text area. It is scaled down to the page size if it does not fit otherwise. This value will be ignored if [width] or [height] is specified in addition.
3
the figure is always rotated counterclockwise by 90o. If it does not fit on the page it will be scaled down. If [width] or [height] is specified in addition, the figure will be rotated and then scaled to the specified values.
4
the figure is always rotated counterclockwise by 90o and scaled up or down for best fit on the page. This value will be ignored if [width] or [height] is specified in addition.

[height]
If this attribute has a value, the figure will be scaled to the defined height which is a real value with dimensions (e.g. "10cm", "150mm", "12.5in"). If also [width]is specified the figure will be distorted. This value always specifies the width of the "figure box" on the page after possible scaling/rotating.
[notation]
This attribute specifies the format of the graphic file if used by an SGML Application supporting notations.
[scale]
If this attribute receives a value, the figure will be scaled by the given factor which must be a signed real number. Numbers greater 1 increase the size of the figure, values less than 1 make the figure smaller. For example with scale="0.5" the a figure of the size 10x10 cm will appear as 5*5cm.
[width]
If this attribute has a value, the figure will be scaled to the defined width which is a real value with dimensions (e.g. "10cm", "150mm", "12.5in"). If also [height]is specified the figure will be distorted. This value always specifies the width of the "figure box" on the page after possible scaling/rotating.

The scaling attribute precedence is:
 
[scale] has precedence over all
 
[fit]has precedence over [width]and/or [height]
Example  
<graphic filename="ggub.bmp" notation="eps"></graphic>
Description  Identifies a graphic. A graphic is stored in difference formats (notation attribute) and is used as an illustration in the document.