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 > Page level structures
  
Page level structures
A Page is a vertical layout container that holds an optional header, zero or more spans, and an optional footer. Page-top floats may appear after the header and Page-bottom floats may appear before the footer. Pages are numbered starting with 1 for the first page. The optional oid attribute indicates the element that forces the start of the page, if any.
Header and Footer are generated by the stylesheet. They may also contain information that is derived from the document or from the part of the document that is currently displayed. The header and footer are usually ignored by applications that move layout information back to the document.
Span is a horizontal layout container that holds one or more columns. For example, a page may have a title that spans the page, a three column span for text, and another one column span for a table. The optional oid attribute specifies the element in the document that forces the start of any such span.
Spans are numbered, starting with 1 for the first span on a page. The columns attribute specifies the maximum number of columns that a span can contain. Some of the columns in a span may be missing. The width attribute specifies the width of each column in a span measured in points.
Column is a vertical layout container that holds lines of galley material or tables. Columns are numbered, starting with 1 for the first column in a span. The oid attribute indicates the element that forces the start of any such column.
<!ELEMENT Page ((Header? , Float*, (Span+, Float*)?, Footer?))>
<!ATTLIST Page
oid %oid; #IMPLIED
number NMTOKEN #IMPLIED >
<!ELEMENT Header ((Line | Row)*)>
<!ELEMENT Footer ((Line | Row)*)>
<!ELEMENT Span (Float*, (Column+ , Float*)?)>
<!ATTLIST Span
oid %oid; #IMPLIED
number NMTOKEN #IMPLIED
columns CDATA #IMPLIED
width %dimen; #IMPLIED >

<!ELEMENT Column (Float*, ((Line | Row)+, Float*)?)>
<!ATTLIST Column
oid %oid; #IMPLIED
number CDATA #IMPLIED >