Setup Content Dialog
This Page Setup dialog contains a tabbed pane with three tab pages: Page Setup, Content, and Notes. The
controls displayed in the toolbar above allow you to configure this dialog in various ways (as described below).
 |
Figure 1: Setup Content dialog -- Notes tab. |
Press the Display Dialog button (

) in the toolbar above to
display this dialog.
Page Setup Tab
The Page Setup tab page allows you to specify a number of basic page setup attributes --
Paper Size and Source, Page Orientation, and Page Margins (similar to the contents
of the Setup Dialog).
Content Tab
The Content tab page allows you to specify a number of setup attributes which control how the
material is printed. There are five different versons of this tab page, each appropriate
for a different type of material. The Content Type radio buttons in the toolbar above allow
you to select which of the five versions is displayed:
- Generic is appropriate for generic material. This version is used
for material for which a more specialized version is not available.
- Table is appropriate for Swing Tables (JTable).
- Text is appropriate for Swing Text Components (JTextArea, JTextPane, ...).
- Tree is appropriate for Swing Trees (JTree).
- Font is appropriate for text (e.g. a text file).
Notes Tab
The Notes tab page allows you to specify the content of the page head/foot notes. The JPDF
provides several alternative methods for
specifying the content of the head/foot notes. One of these uses three Text Fields (as pictured
above).
The toolbar at the top of the Notes tab page allows you to insert special markers into
the head/foot notes. These markers are replaced by actual values when the material
is printed. For example, if you place the Time Marker into the foot notes, then
the foot notes that are printed will contain the time at which printing occurs.
The dialog pictured above allows you to specify:
- The content of the three strings to be used as the Page Head Notes.
- The font and color for the Page Head Notes.
- The pages on which the Page Head Notes are to be included.
- Whether a line should separate the Page Head Notes from the rest of the page content.