Developer’s Guide

Table Of Contents
Creating custom layout themes 3-5
Note Although a theme may include descriptions for every type of
layout part, the type of layout you select in the New Layout/Report
assistant determines which parts will appear in your new layout or
report.
For information about layout parts, see “Creating and managing
layouts and reports,” in the FileMaker Pro 5 User’s Guide or see
FileMaker Pro Help.
XML elements for text
Any layout part element can contain FIELD, TEXTLABEL, and
TEXT elements that are used to describe the characteristics of text or
data in the part.
The FIELD element is used to describe text (data) in fields and field
borders. The TEXTLABEL element is used for field label text. Field
labels are displayed in the body part of a layout or in other parts such
as the header of columnar reports. The TEXT element describes all
other text that appears in a layout part (other than fields or field
labels), such as title text in the header.
Description of XML elements and their
theme attributes
The following tables describe the multi-line and single-line XML
elements supported by FileMaker Pro in a layout theme document.
(Unknown elements are ignored by FileMaker Pro.)
Table of multi-line elements
<LEADGRANDSUMPART>
</LEADGRANDSUMPART>
Leading grand summary — appears at the
beginning of a report and displays a
summary field for all the records in a found
set. (A layout can have only one leading
grand summary part.)
<LEADSUBSUMPART>
</LEADSUBSUMPART>
Leading subsummary — appears above the
body part and displays a summary field for a
subset of records as defined by the break
field. You can describe up to nine leading
subsummary layout parts — each
LEADSUBSUMPART element must
contain a PARTNUMBER element to
distinguish it from the others.
<BODYPART>
</BODYPART>
Body — appears in the middle of every
screen or page. (A layout can have only one
body part.)
<TRAILSUBSUMPART>
</TRAILSUBSUMPART>
Trailing subsummary — appears below the
body part and displays a summary field for a
subset of records as defined by the break
field. You can describe up to nine trailing
subsummary layout parts — each
TRAILSUBSUMPART element must
contain a PARTNUMBER element to
distinguish it from the others.
<TRAILGRANDSUMPART>
</TRAILGRANDSUMPART>
Trailing grand summary — appears at the end
of a report and displays a summary field for all
the records in a found set. (A layout can have
only one trailing grand summary part.)
<FOOTERPART>
</FOOTERPART>
Footer — appears at the bottom of every
screen or page (except the first one if there’s
a title footer).
<TITLEFOOTPART>
</TITLEFOOTPART>
Title footer — appears only once at the
bottom of the first screen or page.
This multi-lined
element is used To describe this layout part
These multi-line elements May contain these elements
FMTHEMES
(required)
FMTHEME
The FMTHEMES root element can contain
multiple FMTHEME elements. (The order that
they are listed determines how they’ll appear in
the New Layout/Report assistant.)