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 > Text level structures
  
Text level structures
Text level structures are the visible objects that appear on the page. They include text, graphics, and equations. Rules and leaders are ignored by line numbering applications.
Text refers to a sequence of characters that are displayed one font. The concept of a word does not exist, because a string of characters includes space characters. If implemented, the text element may contain a string of characters as PCDATA, otherwise it is empty.
The oid, sOffset, and eOffset parameters can be used to locate the exact substring in the source document that corresponds to a text element. If the text fragment ended in a discretionary hyphen (inserted by the formatting engine), the hyphen character is indicated by the hyphen attribute.
Graphic is an object that will be rendered as an image based on data outside of the document instance (for example, a .gif file). The file attribute gives the location of the file.
Equation is an object that will be rendered as a mathematical equation by the Arbortext formatting engine. Equations may be of two types, either display or inline.
<!ELEMENT Text (#PCDATA) >
<!ATTLIST Text
oid %oid; #REQUIRED
sOffset %offset; #IMPLIED
eOffset %offset; #IMPLIED
hyphen NMTOKEN #IMPLIED
x %dimen; #IMPLIED >
<!ELEMENT Graphic EMPTY>
<!ATTLIST Graphic
oid %oid; #REQUIRED
x %dimen; #IMPLIED
file CDATA #IMPLIED >
<!ELEMENT Equation EMPTY>
<!ATTLIST Equation
oid %oid; #REQUIRED
x %dimen; #IMPLIED
type (display|inline) #IMPLIED >