| 1 |
<refentry id="tocentry.element"> |
| 2 |
<?dbhtml filename="tocentry.html"?> |
| 3 |
<refentryinfo> |
| 4 |
<pubdate>$Date$</pubdate> |
| 5 |
<releaseinfo>$Revision$</releaseinfo> |
| 6 |
</refentryinfo> |
| 7 |
|
| 8 |
<refmeta> |
| 9 |
<indexterm><primary>elements</primary> |
| 10 |
<secondary>tocentry</secondary></indexterm> |
| 11 |
<refentrytitle>tocentry</refentrytitle> |
| 12 |
<refmiscinfo>Element</refmiscinfo> |
| 13 |
</refmeta> |
| 14 |
<refnamediv> |
| 15 |
<refname>tocentry</refname> |
| 16 |
<refpurpose>&tocentry.purpose;</refpurpose> |
| 17 |
</refnamediv> |
| 18 |
|
| 19 |
&tocentry.synopsis.gen; |
| 20 |
<refsect1 condition='ref.description'><title>Description</title> |
| 21 |
|
| 22 |
<para> |
| 23 |
A <sgmltag>ToCentry</sgmltag> contains the title of an entry in a |
| 24 |
<sgmltag>ToC</sgmltag>. In entries that allow nested structure, such as |
| 25 |
<sgmltag>ToCchap</sgmltag>, this additional wrapper is necessary in order to |
| 26 |
require that a title be present. |
| 27 |
</para> |
| 28 |
|
| 29 |
<refsect2><title>Processing expectations</title> |
| 30 |
<para> |
| 31 |
&format.block; |
| 32 |
</para> |
| 33 |
<para> |
| 34 |
In real life, <sgmltag>ToC</sgmltag>s are usually generated automatically |
| 35 |
by the presentation system and never have to be represented explicitly |
| 36 |
in the document source. |
| 37 |
</para> |
| 38 |
</refsect2> |
| 39 |
|
| 40 |
<refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title> |
| 41 |
<para> |
| 42 |
|
| 43 |
&fu.interfacedefinition; |
| 44 |
</para> |
| 45 |
</refsect2> |
| 46 |
|
| 47 |
|
| 48 |
&tocentry.parents.gen; |
| 49 |
&tocentry.children.gen; |
| 50 |
</refsect1> |
| 51 |
<refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 52 |
<variablelist> |
| 53 |
<varlistentry><term>linkend</term> |
| 54 |
<listitem> |
| 55 |
<para> |
| 56 |
<sgmltag class="attribute">Linkend</sgmltag> points to the associated element in the document. |
| 57 |
</para> |
| 58 |
</listitem> |
| 59 |
</varlistentry> |
| 60 |
<varlistentry><term>pagenum</term> |
| 61 |
<listitem> |
| 62 |
<para> |
| 63 |
<sgmltag class="attribute">PageNum</sgmltag> indicates the page on which this |
| 64 |
<sgmltag>ToC</sgmltag> element appears in some version of the printed document. |
| 65 |
</para> |
| 66 |
</listitem> |
| 67 |
</varlistentry> |
| 68 |
</variablelist> |
| 69 |
</refsect1> |
| 70 |
<refsect1><title>Examples</title> |
| 71 |
|
| 72 |
&tocentry.example.seealso.gen; |
| 73 |
</refsect1> |
| 74 |
</refentry> |
| 75 |
|