To set up a table to span multiple pagesTo enable tables to
automatically flow to the next page, you must ensure the following
conditions:
The table must be in a subform that is set to Flowed
in the Subform tab of the Object palette.
The Allow Page Breaks Within Content option is selected in
the Table tab.
The table is not in a group.
Now you can make adjustments to the table to ensure that the
information is displayed the way you want when the table spans multiple
pages. You can include a Table continued tag at the top of the next
page if the table spans more than one page.
If you want the header row to repeat on the next page, see To repeat a header or footer row on subsequent pages.
To set up a master page that includes the Table continued tagCreate a table that grows based on the amount of data from
a data source. See To set the rows in a table to adjust to accommodate data.
Select the header row.
In the Object palette, click the Pagination tab and select
Include Header Row In Subsequent Pages.
Select View > Master Pages to display the Master Pages
tab if it is not already displayed.
Click the Master Pages tab and select Insert > New Master
Page.
Resize the content area so that it is smaller on the new
master page.
In the Object Library palette, click the Standard category
and drag the Text object above
the content area.
Double-click the default text and type Table continued ...
Select the text and, in the Font palette, set the text to
Bold and Italic.
In the Hierarchy palette, rename the (untitled Content Area)
on Page 2 to Page2ContentArea.
To set the pagination for the tableIn the Design
View tab of the Layout Editor, select the table. See To select a table, row, column, cell, or section.
In the Object palette, click the Table tab, and ensure that
Allow Page Breaks Within Content is selected.
Note: Although the Allow Page Breaks Within Content option is selected by default for tables, it is deselected for table rows. You must select this option for the table rows to allow page breaks within the table.
In the Object palette, click the Pagination tab and, next
to the Overflow list, click the arrow and select Go To Content Area
> Page2ContentArea.
To connect to a data sourceEnsure that you are connected
to a data source. See Connecting to a data source.
For example, if you or your administrator
installed the samples that come with Designer, locate and open the
following schema: Purchase Order.xsd in the Data Connections dialog
box.
In the Data View palette, locate the partNum node.
Drag the node into the first cell under the Part No header.
Repeat steps 2 and 3 for description, quantity, and unitPrice.
To select a data fileSelect
File > Form Properties and click the Preview tab. Browse to the
location of the data file you want to use.
Note: You will need to select a data file that contains enough data to fill a table that spans more than one page.
View the form in the Preview PDF tab.
To repeat a header or footer row on subsequent pagesClick and drag to select the table
header or footer.
In the Object palette, click the Pagination tab, and do one
of the following actions:
Note: The table must be inserted into a subform that is already set to Flowed.
|
|
|