Using master pages

Master pages allow you add objects that will appear in the same position throughout the form design. They are useful when you want to adjust the size and position of content areas, add page numbering, and create single- or double-sided features (such as headers and footers).

A typical form design that has two pages with different dimensions contains at least two master pages, one for each page. If a form design has multiple pages that have the same dimensions and orientation, the form design needs only a single master page.

You can start designing pages immediately with the default master page. If your design is more complex (for example, you need to create design components such as page headers and footers), it is best to work with those components directly on the master page.

You can place objects anywhere on a master page. Each master page can have a unique design, which you can apply to one or more pages. Master pages save you the effort of creating the same layout directly on individual pages, one page at a time. If several pages that have the same layout also need the same set of objects (for example, a standard footer), placing and maintaining one set of those objects on a master page is more efficient than duplicating the objects on every page. When the objects are placed on a master page, all associated pages display those objects in the background. Changing the master page after automatically updates all associated pages.

Use the Pagination tab to indicate whether the master page is used in odd (front), even (back), or blank pages and its placement in the page set. You can also choose whether pages that are rendered according to the selected master page should contribute to the total page count.

To use master pages with repeating subforms

You can assign a different master page for any pages that occur after the first page in a form if you have a repeating subform that does not fit on one page but requires subsequent pages. For example, the subform may begin in the middle of the first page in the form. To have the subform begin at the top of the pages that occur after the first page, you create a different master page.

When to add a master page

Normally, you add additional master pages when your require two or more different page sizes, a different page orientation, or different print mode settings. Form filling is not supported on Master page fields. It is recommended to use master page to show only static and read-only content. Use normal pages for data capture fields.

If a form has a fixed layout, the number of pages in the form is also fixed. If the form contains subforms that adjust to accommodate the amount of data being merged, Forms adds additional pages automatically if the amount of data to be merged cannot completely fit on a single page.

Note: When you create a form design for a form that has a fixed layout that accepts merged data, you must ensure that filled objects do not expand to the point that they overrun the content area. Otherwise, unwanted pages may get added to the form automatically when the form is rendered.

A form design may contain more than one content area. For example, a master page may have two content areas to provide a two-column layout, and two master pages of this type (one odd and one even) may be needed to support double-sided pages.

To show or hide a master page

You can show or hide a master page by using different methods.

  • To show the Master Pages tab if another tab is active, in the Layout Editor, click the Master Pages tab.

  • To show or hide the Master Pages tab, select View > Master Pages.

To add a master page

You can add a master page by using the Insert menu or Hierarchy palette.

If the Hierarchy palette is not visible, select Window > Hierarchy.
  • To add a master page, click the Master Pages tab and select Insert > New Master Page.

  • To add a master page in the Hierarchy palette, right-click the Master Pages node and select New Master Page.

To delete a master page

You can delete a master page by using the Edit menu or Hierarchy palette.

If the Hierarchy palette is not visible, select Window > Hierarchy.
  • To delete a master page, click the Master Pages tab, select the content area that corresponds to that master page and select Edit > Delete Master Page.

  • To delete a master page in the Hierarchy palette, right-click the master page and select Delete.

To move between multiple master pages

If your form design has multiple master pages, you can easily move from one to another by using the Layout Editor or Hierarchy palette.

If the Hierarchy palette is not visible, select Window > Hierarchy.
  • In the Master Pages tab, scroll up or down to the required page.

  • In the Hierarchy palette, click the required master page.

To reorder master pages

If you need to change the order of the master pages in a form design, you can use the Hierarchy palette.

If the Hierarchy palette is not visible, select Window > Hierarchy.
  1. In the Hierarchy palette, drag the master page to a new position below the Master Pages node.

  2. Repeat step 1 until all of the master pages are in the order you prefer.

To rename a master page

You can change the name of a master page by using the Hierarchy palette or the Master Page tab of the Object palette.

If the Hierarchy palette is not visible, select Window > Hierarchy.
  • In the Hierarchy palette, right-click the master page, select Rename Object, and type a new name for the master page.

  • With the Master Pages tab selected, click anywhere on the master page, select the Object palette and, in the Master Page tab, type a new name for the master page.

To add page numbering

In the Master Pages tab, you can add an object that displays the current page and total page count of the form, for example, Page 1 of 30.

  1. In the Object Library palette, click the Custom tab category.

  2. Click the Page n of m object, and then drag it onto the form design.

To specify the size of a master page

In the Master Pages tab, you can view changes to a form’s basic page layout, including the page size. When you select a master page in the Hierarchy palette, you can change its basic page layout properties in the Master Page tab of the Object palette.

Content areas define the region in which objects can be placed on the pages of a form. If you are creating a form that contains subforms set to flow content, it is best to define the size and position of all content areas before you add other objects to the master page.
  1. In the Hierarchy palette, under the Master Pages node, select the master page you want to resize.

  2. In the Object palette, select a page size from the Paper Type list.

  3. If you selected the Custom type, type the page dimensions in the Height and Width boxes.

To specify the orientation of a master page

In the Master Pages tab, you can view changes to a form’s basic page layout, including the orientation. When you select a master page in the Hierarchy palette, you can change its basic page layout properties in the Master Page tab of the Object palette.

  1. In the Hierarchy palette, under the Master Pages node, select the master page you want to orient.

  2. In the Object palette, select Portrait or Landscape.

    Note: Set the page orientation explicitly as portrait or landscape for the Custom Paper Type. If the form width is greater than the form height, the orientation does not change to landscape automatically in when Custom Paper Type is selected.

// Ethnio survey code removed