Debian Codegraph @

docs/pis/dblatex_bgcolor.xml

raw
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
3 <refentry id="pi-dblatex_bgcolor">
4 <refmeta>
5 <refentrytitle>dblatex bgcolor</refentrytitle>
6 </refmeta>
7 <refnamediv>
8 <refname><sgmltag class="xmlpi">dblatex
9 <parameter>bgcolor</parameter></sgmltag></refname>
10 <refpurpose>Sets the Background Color of A Table Element</refpurpose>
11 </refnamediv>
12 <refsynopsisdiv>
13 <programlisting><![CDATA[<?dblatex bgcolor="#00FF00"?>
14 <?dblatex bgcolor="{blue}"?>
15 <?dblatex bgcolor="[gray]{0.8}"?>]]></programlisting>
16 </refsynopsisdiv>
17 <refsection>
18 <title>Description</title>
19
20 <para>Set the background color of a table element. The color of a
21 child element is inherited from its parent, with the exception of
22 the color of row cells. These have a color which is inherited from
23 the column in which they appear so long as no color is specified
24 for the row. How the color is set, whether by attribute or by
25 processing instruction, does not matter.</para>
26
27 <xi:include href="../tables/table.xml"
28 xpointer="table-color-format"
29 xmlns:xi="http://www.w3.org/2001/XInclude" />
30
31 <para>The default is the value of the table's
32 <sgmltag>bgcolor</sgmltag> attribute, or white when not otherwise
33 specified.</para>
34 </refsection>
35
36 <refsection>
37 <title>Context</title>
38 <para>Recognized in the following elements<footnote>
39 <para>HTML table elements have attributes which allow color to
40 be specified.</para>
41 </footnote>:</para>
42 <itemizedlist>
43 <listitem><sgmltag>col</sgmltag></listitem>
44 <listitem><sgmltag>colgroup</sgmltag></listitem>
45 <listitem><sgmltag>entry</sgmltag></listitem>
46 <listitem><sgmltag>entrytbl</sgmltag></listitem>
47 <listitem><sgmltag>row</sgmltag></listitem>
48 </itemizedlist>
49 </refsection>
50
51 <refsection>
52 <title>See Also</title>
53 <itemizedlist>
54 <listitem>See <xref linkend="sec-table-color" /></listitem>
55 </itemizedlist>
56 </refsection>
57 </refentry>