Developer’s Guide

Table Of Contents
Creating custom layout themes
5-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 chapter 6, “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
<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.)
FMTHEME
(required)
VERSION
THEMENAME (required)
THEMEDEFAULT
Any or all layout part elements
TITLEHEADERPART
HEADERPART
LEADGRANDSUMPART
BODYPART
TRAILGRANDSUMPART
FOOTERPART
TITLEFOOTPART
FILL
FIELD
TEXT
TEXTLABEL
LEADSUBSUMPART
TRAILSUBSUMPART
FILL
FIELD
PARTNUMBER
TEXT
TEXTLABEL