entry
entry — A cell in a table
Synopsis
Mixed Content Model
entry ::=
(#PCDATA|footnoteref|xref|biblioref|abbrev|acronym|citation|
citerefentry|citetitle|citebiblioid|emphasis|firstterm|
foreignphrase|glossterm|termdef|footnote|phrase|orgname|quote|
trademark|wordasword|personname|link|olink|ulink|action|
application|classname|methodname|interfacename|exceptionname|
ooclass|oointerface|ooexception|package|command|computeroutput|
database|email|envar|errorcode|errorname|errortype|errortext|
filename|function|guibutton|guiicon|guilabel|guimenu|guimenuitem|
guisubmenu|hardware|interface|keycap|keycode|keycombo|keysym|
literal|code|constant|markup|medialabel|menuchoice|mousebutton|
option|optional|parameter|prompt|property|replaceable|
returnvalue|sgmltag|structfield|structname|symbol|systemitem|uri|
token|type|userinput|varname|nonterminal|anchor|author|
authorinitials|corpauthor|corpcredit|modespec|othercredit|
productname|productnumber|revhistory|remark|subscript|
superscript|inlinegraphic|inlinemediaobject|inlineequation|
synopsis|cmdsynopsis|funcsynopsis|classsynopsis|fieldsynopsis|
constructorsynopsis|destructorsynopsis|methodsynopsis|indexterm|
beginpage|calloutlist|glosslist|bibliolist|itemizedlist|
orderedlist|segmentedlist|simplelist|variablelist|caution|
important|note|tip|warning|literallayout|programlisting|
programlistingco|screen|screenco|screenshot|formalpara|para|
simpara|graphic|mediaobject)*
Attributes
Name | Type | Default | ||||||
rowsep | CDATA | None | ||||||
spanname | CDATA | None | ||||||
ondblclick | CDATA | None | ||||||
colname | CDATA | None | ||||||
onkeydown | CDATA | None | ||||||
onkeyup | CDATA | None | ||||||
onmouseup | CDATA | None | ||||||
onmouseover | CDATA | None | ||||||
align |
| None | ||||||
valign |
| None | ||||||
rotate | CDATA | None | ||||||
onkeypress | CDATA | None | ||||||
onmousedown | CDATA | None | ||||||
nameend | CDATA | None | ||||||
onclick | CDATA | None | ||||||
title | CDATA | None | ||||||
class | CDATA | None | ||||||
colsep | CDATA | None | ||||||
charoff | CDATA | None | ||||||
namest | CDATA | None | ||||||
onmouseout | CDATA | None | ||||||
onmousemove | CDATA | None | ||||||
style | CDATA | None | ||||||
xml:lang | NMTOKEN | None | ||||||
char | CDATA | None | ||||||
morerows | CDATA | None |
Description
Entry is a cell in a table.
Each Entry may specify its starting column. Entries that do not explicitly specify a starting column begin implicitly in the column that is immediately adjacent to the preceding cell. Note that Entrys with the MoreRows attribute from preceding rows implicitly occupy cells in the succeeding Rows.
Rows are not required to be full. It is legal for some entries to be completely absent (at the beginning, middle, or end of a row).
Processing expectations
This element is expected to obey the semantics of the CALS Table Model Document Type Definition, as specified by OASIS Technical Memorandum TM 9502:1995 .
The content of Entry is formatted to fit within the table cell that it occupies. Horizontal and vertical spanning may allow the content of an Entry to occupy several physical cells.
Future Changes
The InterfaceDefinition element will be discarded in DocBook V4.0. It will no longer be available in the content model of this element.
Children
The following elements occur in entry: abbrev, acronym, action, anchor, application, author, authorinitials, beginpage, bibliolist, biblioref, calloutlist, caution, citation, citebiblioid, citerefentry, citetitle, classname, classsynopsis, cmdsynopsis, code, command, computeroutput, constant, constructorsynopsis, corpauthor, corpcredit, database, destructorsynopsis, email, emphasis, envar, errorcode, errorname, errortext, errortype, exceptionname, fieldsynopsis, filename, firstterm, footnote, footnoteref, foreignphrase, formalpara, funcsynopsis, function, glosslist, glossterm, graphic, guibutton, guiicon, guilabel, guimenu, guimenuitem, guisubmenu, hardware, important, indexterm, inlineequation, inlinegraphic, inlinemediaobject, interface, interfacename, itemizedlist, keycap, keycode, keycombo, keysym, link, literal, literallayout, markup, medialabel, mediaobject, menuchoice, methodname, methodsynopsis, modespec, mousebutton, nonterminal, note, olink, ooclass, ooexception, oointerface, option, optional, orderedlist, orgname, othercredit, package, para, parameter, personname, phrase, productname, productnumber, programlisting, programlistingco, prompt, property, quote, remark, replaceable, returnvalue, revhistory, screen, screenco, screenshot, segmentedlist, sgmltag, simpara, simplelist, structfield, structname, subscript, superscript, symbol, synopsis, systemitem, termdef, tip, token, trademark, type, ulink, uri, userinput, variablelist, varname, warning, wordasword, xref.
Attributes
align
Alignspecifies the horizontal alignment of text (and other elements) within theEntry. If no alignment is specified, it is inherited from theColSpecfor the current column, or theSpanSpecif this entry occurs in a span. IfCharis specified, see alsoCharandCharOff.char
Charspecifies the alignment character when theAlignattribute is set toChar.charoff
CharOffspecifies the percentage of the column's total width that should appear to the left of the first occurance of the character identified inCharwhen theAlignattribute is set toChar. This attribute is inherited from the relevantColSpecorSpanSpec.colname
ColNameidentifies the column in which this entry should appear; it must have been previously defined in aColSpec.Entrys cannot be given out of order, the column referenced must be to the right of the lastEntryorEntryTblplaced in the current row. It is an error to specify both aColNameand aSpanName.colsep
If
ColSephas the value 1 (true), then a rule will be drawn to the right of thisEntry. A value of 0 (false) suppresses the rule. The rule to the right of the last column in the table is controlled by theFrameattribute of the enclosingTableorInformalTableand theColSepof an entry in the last column in the table is ignored. If unspecified, this attribute is inherited from the the correspondingColSpecorSpanSpecand enclosing elements.morerows
MoreRowsindicates how many more rows, in addition to the current row, thisEntryis to occupy. It creates a vertical span. The default of0indicates that theEntryoccupies only a single row.nameend
NameEndis the name (defined in aColSpec) of the rightmost column of a span. OnEntry, specifying bothNameStandNameEnddefines a horizontal span for the currentEntry. (See alsoSpanName.)namest
NameSt(“name start”) is the name (defined in aColSpec) of the leftmost column of a span. OnEntry, specifying bothNameStandNameEnddefines a horizontal span for the currentEntry. (See alsoSpanName.)rotate
If
Rotatehas the value 1 (true), theEntryis to be rotated 90 degrees counterclockwise in the table cell. A value of 0 (false) indicates that no rotation is to occur. If the stylesheet also specifies rotation, the value ofRotateis ignored; they are not additive. Only the values 0 and 1 are legal.rowsep
If
RowSephas the value 1 (true), then a rule will be drawn below theEntry. A value of 0 (false) suppresses the rule. The rule below the last row in the table is controlled by theFrameattribute of the enclosingTableorInformalTableand theRowSepof the last row is ignored. If unspecified, this attribute is inherited from enclosing elements.spanname
SpanNameis the name (defined in aSpanSpec) of a span. This cell will be rendered with the specified horizontal span.valign
VAlignspecifies the vertical alignment of text (and other elements) within theEntry. If no alignment is specified, it is inherited from enclosing elements.
Examples
For examples, see entrytbl, footnoteref, informaltable, table.
[18] A term coined by Terry Allen.