Developer’s Guide

Table Of Contents
Chapter 3
Creating custom layout themes
FileMaker Pro 5.5 uses a variety of layout themes to describe the
colors, patterns, fonts, and borders of text, fields, and parts in a new
layout. New themes for FileMaker Pro 5.5 include High Contrast,
Aqua, and Windows standard.
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.
Note A FileMaker Pro theme is not a stylesheet and does not contain
positioning information for objects on a layout.
For information about:
1 using layout themes and designing layouts, see the FileMaker Pro
5 User’s Guide
1 XML and its uses, see the product support pages for FileMaker
Developer on the FileMaker, Inc. web site at www.filemaker.com
1 publishing your database on the Web in XML format, see
chapter 7, “Using FileMaker Pro XML to deliver your data”
1 creating a custom web site using a database layout, see page 6-7
Modifying a FileMaker Pro theme
FileMaker Developer 5.5 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 3-3 and “Checking your theme document for
errors” on page 3-11.
Create themes to automatically apply different styles to text and
background fills in layout parts, fields, and field labels
Fill color and
pattern for
header part
Fill color and
pattern for
body part
Fill color and
pattern for
footer part
Field label
Field text
Field fill,
border and
shadow effect
Text in
footer part