Debian Codegraph @

en/refpages/elements/inlinegraphic/refentry.xml

raw symbols SCIP
1 <refentry id="inlinegraphic.element">
2 <?dbhtml filename="inlinegraphic.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>inlinegraphic</secondary></indexterm>
11 <refentrytitle>inlinegraphic</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>inlinegraphic</refname>
16 <refpurpose>&inlinegraphic.purpose;</refpurpose>
17 </refnamediv>
18
19 &inlinegraphic.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>
23 This element contains graphical data, or a pointer to an
24 external entity containing graphical data. One of the
25 deficiencies of the DocBook <sgmltag>Graphic</sgmltag> element is that
26 there is no way to specify an alternate text description of the
27 graphic. This has been rectified by the introduction of
28 <sgmltag>InlineMediaObject</sgmltag>.
29 </para>
30
31 <refsect2 id="dbreproc.inlinegraphic"><title>Processing expectations</title>
32 <para>
33 &format.inline;
34 </para>
35 <para>
36 There are several ways to provide content for a
37 <sgmltag>Graphic</sgmltag>. It is best to use only one of these
38 methods. However, if multiple graphic sources are provided, the
39 processing expectations are as follows: element content should be used
40 in favor of either <sgmltag class='attribute'>EntityRef</sgmltag> or <sgmltag
41 class='attribute'>FileRef</sgmltag> and <sgmltag class='attribute'>EntityRef</sgmltag>
42 should be used in favor of <sgmltag class='attribute'>FileRef</sgmltag>.
43 </para>
44 </refsect2>
45
46 <refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title>
47 <para>
48 <indexterm><primary>DocBook DTD</primary><secondary>Changes for <acronym>V4.0</acronym></secondary>
49 </indexterm>
50 In DocBook <acronym>V4.0</acronym>, <sgmltag>InlineGraphic</sgmltag> will be declared <literal>EMPTY</literal>.
51 This change will require that any embedded graphic content be stored outside the
52 &SGML; source and pointed to with an
53 <sgmltag class='attribute'>EntityRef</sgmltag> or
54 <sgmltag class='attribute'>FileRef</sgmltag> attribute.
55 </para>
56 </refsect2>
57
58 <refsect2 role='fu' revision="5.0"><title>&FutureChanges;</title>
59 <para>
60 <indexterm><primary>DocBook DTD</primary><secondary>Changes for <acronym>V5.0</acronym></secondary>
61 </indexterm>
62 In DocBook <acronym>V5.0</acronym>, <sgmltag>InlineGraphic</sgmltag> will be discarded. At that
63 time, graphics will have to be incorporated using
64 <sgmltag>MediaObject</sgmltag> or <sgmltag>InlineMediaObject</sgmltag>.
65 </para>
66 </refsect2>
67
68
69 &inlinegraphic.parents.gen;
70 </refsect1>
71 <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title>
72 <variablelist>
73 <varlistentry><term>align</term>
74 <listitem>
75 <para>
76 <sgmltag class="attribute">Align</sgmltag> specifies the horizontal alignment
77 of the graphic within the element that frames it.
78 </para>
79 </listitem>
80 </varlistentry>
81 <varlistentry><term>depth</term>
82 <listitem>
83 <para>
84 <sgmltag class="attribute">Depth</sgmltag> specifies the desired depth (vertical
85 distance, at least in horizontal writing systems) of the
86 image.
87 </para>
88 </listitem>
89 </varlistentry>
90 <varlistentry><term>entityref</term>
91 <listitem>
92 <para>
93 <sgmltag class="attribute">EntityRef</sgmltag> identifies the general entity
94 which contains (or points to) the content of the graphic.
95 </para>
96 </listitem>
97 </varlistentry>
98 <varlistentry><term>fileref</term>
99 <listitem>
100 <para>
101 <sgmltag class="attribute">FileRef</sgmltag> specifies the name of the file
102 which contains the content of the graphic.
103 </para>
104 </listitem>
105 </varlistentry>
106 <varlistentry><term>format</term>
107 <listitem>
108 <para>
109 <sgmltag class="attribute">Format</sgmltag> identifies the format of the graphic
110 content. The <sgmltag class="attribute">Format</sgmltag> must be a defined
111 notation.
112 </para>
113 </listitem>
114 </varlistentry>
115 <varlistentry><term>scale</term>
116 <listitem>
117 <para>
118 <sgmltag class="attribute">Scale</sgmltag> specifies integer representing a
119 percentage scaling factor (retaining the relative dimensions of the
120 original graphic). If unspecified, the value 100 (100&percnt;) is assumed.
121 </para>
122 </listitem>
123 </varlistentry>
124 <varlistentry><term>scalefit</term>
125 <listitem>
126 <para>
127 If <sgmltag class="attribute">ScaleFit</sgmltag> has the value 1 (true), then
128 the graphic is to be scaled (uniformly) to the specified width or depth.
129 The default value of 0 (false) indicates that the image will not be
130 scaled to fit (although it may still be scaled by the
131 <sgmltag class="attribute">Scale</sgmltag> attribute).
132 </para>
133 </listitem>
134 </varlistentry>
135 <varlistentry><term>srccredit</term>
136 <listitem>
137 <para>
138 <sgmltag class="attribute">SrcCredit</sgmltag> contains details about the source
139 of the <sgmltag>InlineGraphic</sgmltag>.
140 </para>
141 </listitem>
142 </varlistentry>
143 <varlistentry><term>width</term>
144 <listitem>
145 <para>
146 <sgmltag class="attribute">Width</sgmltag> indicates the width of the graphic.
147 </para>
148 </listitem>
149 </varlistentry>
150 </variablelist>
151 </refsect1>
152 <refsect1 condition='ref.elem.seealso'><title>See Also</title>
153 &inlinegraphic.seealso.gen;
154 </refsect1>
155 <refsect1><title>Examples</title>
156
157 &inlinegraphic.example.seealso.gen;
158 </refsect1>
159 </refentry>
160