dblatex_bgcolor.xml

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

    <xi:include href="../tables/table.xml"
                xpointer="table-color-format"
                xmlns:xi="http://www.w3.org/2001/XInclude" />

    <para>The default is the value of the table's
    <sgmltag>bgcolor</sgmltag> attribute, or white when not otherwise
    specified.</para>
  </refsection>

  <refsection>
    <title>Context</title>
    <para>Recognized in the following elements<footnote>
      <para>HTML table elements have attributes which allow color to
      be specified.</para>
    </footnote>:</para>
    <itemizedlist>
      <listitem><sgmltag>col</sgmltag></listitem>
      <listitem><sgmltag>colgroup</sgmltag></listitem>
      <listitem><sgmltag>entry</sgmltag></listitem>
      <listitem><sgmltag>entrytbl</sgmltag></listitem>
      <listitem><sgmltag>row</sgmltag></listitem>
    </itemizedlist>
  </refsection>

    <refsection>
    <title>See Also</title>
    <itemizedlist>
      <listitem>See <xref linkend="sec-table-color" /></listitem>
    </itemizedlist>
  </refsection>
</refentry>