Developer’s Guide

Table Of Contents
Chapter 5
Creating custom layout themes
FileMaker Pro uses a variety of layout themes to describe the colors,
patterns, fonts, and borders of text, fields, and parts in a new layout.
A FileMaker Pro theme is defined in an Extensible Markup
Language (XML) document that can be read and edited in text
editors (such as Wordpad for Windows or BBEdit for Mac OS) or
XML editors (such as XML SPY or XML Pad). You can customize
an existing theme or create your own, and then use the New Layout/
Report assistant to apply the custom theme when you create layouts
for your databases. You can modify attributes defined by the theme
in Layout mode after the layout is created. However, you can’t apply
a theme to an existing layout.
Fill color and
pattern for
header part
Field label
Fill color and
pattern for
body part
Field text
Field fill,
border and
shadow effect
Text in
footer part
Fill color and
pattern for
footer part
Create themes to automatically apply different styles to text and
background fills in layout parts, fields, and field labels
Note A FileMaker Pro theme is not a stylesheet and does not contain
positioning information for objects on a layout.
For information about:
using layout themes and designing layouts, see the FileMaker Pro
User’s Guide
XML and its uses, see the product support pages for FileMaker
Developer on the FileMaker, Inc. web site at www.filemaker.com
publishing your database on the Web in XML format, see
chapter 10, “Using FileMaker Pro XML to deliver your data on the
Web”
creating a custom web site using a database layout, see page 8-7
Modifying a FileMaker Pro theme
The Developer edition of FileMaker Pro includes theme files, which
you can modify. A FileMaker Pro theme file can contain more than
one theme—for example, the Blue_gold.fth file contains two
themes: “Blue and Gold Screen” (for viewing onscreen) and “Blue
and Gold Print” (for printing).
Important The XML for a layout theme must be well-formed and
comply with the required syntax. See
“Basic requirements for a
theme file” on page 5-3 and “Checking your theme document for
errors” on page 5-11.
To modify a theme:
1. Make a duplicate copy of the theme file (for example,
Blue_gold.fth) in the Themes folder.
FileMaker Developer 6\Themes\
or
FileMaker Developer 6\FileMaker Pro.app\Contents\MacOS\Themes\