Programmer's Guide > Programming and Scripting Techniques > Line Numbering in Arbortext Editor and Arbortext Publishing Engine > Line numbering application building reference > The Layout file and document type > Galley structures
  
Galley structures
Galley refers to the running text and tables that are laid out into columns during page composition.
Row is a horizontal container associated with tables that hold one or more entries. A table is made up of rows, some of which are header rows and some of which are footer rows. The oid attribute indicates the element that starts the row.
Entry is a vertical container that holds the material that appears in a table cell. This material is typeset using the width of the entry (given by the width attribute). An entry may span columns (hSpan) and rows (vSpan). The oid attribute indicates the element that starts the entry.
Line is a horizontal container that holds text, graphics, or equations. Line numbering applications focus on the start and end of each line. If an element forced the start of a line, this is indicated by the oid attribute.
<!ELEMENT Row (Entry+)>
<!ATTLIST Row
oid %oid; #IMPLIED
number NMTOKEN #IMPLIED >
<!ELEMENT Entry ((Line | Row)*)>
<!ATTLIST Entry
oid %oid; #IMPLIED
number NMTOKEN #IMPLIED
hSpan NMTOKEN #IMPLIED
vSpan NMTOKEN #IMPLIED
width CDATA #IMPLIED >
<!ELEMENT Line ((Text | Graphic | Equation)*)>
<!ATTLIST Line
oid %oid; #IMPLIED
y %dimen; #IMPLIED >