Adobe framemaker 6.0 Manuale Utente

Pagina di 323
161
ADOBE FRAMEMAKER 6.0
 MIF Statements for Structured Documents and Books
Syntax
ElementDef statement
The ElementDef statement creates an element definition, which specifies an element’s tag name, content 
rules, and optional format rules. It must appear within an ElementDefCatalog statement.
Syntax
<ElementDefCatalog
Begin Element Catalog
<ElementDef…>
Defines an element (see “ElementDef statement,” next)
<ElementDef…>
Additional statements as needed
>
End of
 ElementDefCatalog 
statement
<ElementDef
Begin element definition
<EDTag 
tagstring
>
Element tag name 
<EDObject 
keyword
>
Type of formatter object represented by the element
keyword
 can be one of:
EDContainer
EDEquation
EDFootnote
EDGraphic
EDMarker
EDTable
EDTblTitle
EDTblHeading
EDTblBody
EDTblFooting
EDTblRow
EDTblCell
EDSystemVariable
EDXRef
EDContainer
 identifies a container element; all other values identify 
object (non-container) elements
<EDValidHighestLevel 
boolean
>
Yes 
indicates element can be used as the highest level element for a 
flow; only a container element is allowed to be the highest level ele-
ment
<EDGeneralRule 
string
>
The general rule for the element; the following types of elements can 
have general rules: containers, tables, table parts (table titles, head-
ings, bodies, footings, rows, and cells), and footnotes
<EDExclusions
List of excluded elements
<Exclusion 
tagstring
>
Tag of excluded element
<Exclusion 
tagstring
>
Additional statements as needed
>
End of
 EDExclusions 
statement