XFA Specification
Chapter 7, Layout for Growable Objects
Flowing Layout for Containers
253
Combined Leaders and Trailers
Leaders and trailers of all types may be combined in the same context. For example, a template includes
the following declarations:
<template>
<subform name="W">
<pageSet …>
<pageArea …>
<contentArea name="A" … />
<contentArea name="B" … />
<contentArea name="C" … />
<contentArea name="D" … />
</pageArea>
</pageSet>
<subform name="E" layout="tb" …>
<bookend
leader="#Title_ID"
trailer="#Source_ID"/>
<overflow
leader="#X_ID"
trailer="#Y_ID"/>
<field name="F" …> … </field>
</subform>
</subform>
<proto>
<subform name="Title" ID="Title_ID">
<draw …>
<text>Wheel Invented</text>
</draw>
</subform>
<subform name="Source" ID="Source_ID">
<draw …>
<text>oldnews.com</text>
</draw>
</subform>
<subform name="X" ID="X_ID">
<draw …>
<text …>(continued from previous column)</text>
</draw>
</subform>
<subform name="Y" ID="Y_ID">
<draw …>
<text …>(continued in next column)</text>
</draw>
</subform>
</proto>
</template>