Page Setup for reports
This section describes the Page Setup settings available when exporting reports to PDF files. For information about Page Setup settings available in other circumstances, please refer to the Printing chapter.
Font settings
The font to use for the report can be specified in the Page settings area (figure 8.13). Separate fonts can be specified for the header and for the footer (figures 8.15 and 8.16). The font settings in each case are:
- Choose font. Select the font to use from a drop-down menu of the supported fonts. Note that:
- Not all supported fonts are suitable for reports.
- When running an export tool on a remote system such as the CLC Genomics Server, only the Roboto font will be available in the drop-down list. To use a font other than Roboto when running an export tool on a remote system, provide a custom font file, as described below8.1.
- Not all supported fonts are suitable for reports.
- Size and style. The size and style (bold, italic, underline) of the font are specified to the right of the font selection.
- Font files. To use a custom font, check the checkbox beside this option and then select the (
.ttf) file(s) that define the font. Size settings specified above also apply when using this option.Note: This option must be used if a font other than Roboto should be used when running an export on a remote system.
Figure 8.13: The font to use in for report content, in the header, or in the footer, is specified in the Page Setup dialog using settings in the Font area.
Placeholders in text content
Headers, footers, introduction, addendum and signature sections all support the use of placeholders.
Clicking a placeholder button adds the corresponding placeholder at the position of the cursor. These placeholders are replaced with the relevant information when the document is created.
The available placeholders are:
- Date Replaced with the date and time that the document is generated.
- View name Replaced by the name of the view. For reports, this is the name of the report.
- Username Replaced by the username of the person printing or exporting the document.
Click in a field to enable the placeholder buttons.
Note: Examples of usernames in the images in this section have been blurred out.
Other Page Setup settings
The rest of this section covers the other configuration options in the Page Setup dialog for reports.
In addition to containing font settings affecting the body of the report, sections in the Page settings area support configuration of the general document layout (figure 8.14):
- Paper.
Page orientation and size are specified in this section.
The orientation options are Portrait and Landscape.
Paper sizes are listed in the Paper size drop-down list.
- Fit to pages.
Options in this section can be used to alter how the content should be split across pages:
- Horizontal pages. The number of parts the content should be split up into horizontally, with each part printed to a separate page.
- Vertical pages. The number of parts the content should be split up into vertically, with each part printed to a separate page.
For example, entering 3 in this field would split the content into three sections horizontally, and print each section to a page.
- Horizontal pages. The number of parts the content should be split up into horizontally, with each part printed to a separate page.
In addition to containing font settings, sections in the Header and Footer areas contain settings for defining the content and style of the header and footer sections, respectively. (figures 8.15 and 8.16).
- Height (mm). Specify the height of the header or footer.
- Text.
Text can be added at the left, center or right side of the header or footer.
Text added to the left side will be left-aligned, that in the center, center-aligned, and that on the right, right-aligned.
By default, the page number is printed in the center of the footer, with text provided in the Center field placed above the page number. Page numbering can be turned off by unchecking the Page number checkbox, available just under the Center field in the Footer settings.
- Image. Check a checkbox in the Image area for the location you wish an image to be placed, and then select an image file to use, for example of a logo. The height of the image is specified on the right side (figure 8.15). The image width is calculated from the height and the image's aspect ratio.
Image placement information:
- An image specified in the Left: field will be placed to the left of any text to be added on the left side.
- An image specified in the Center: field will be placed to the left of any text to be added in the center.
- An image specified in the Right: field will be placed to the right of any text to be added on the right side.
Other sections of the document are configured in the areas under Other matter:
- Introduction. If text is added in this field, a section will be added to the start of the document called "Introduction" containing that text. Each line of text entered will be written as a paragraph (figure 8.17).
- Addendum. If text is added in this field, a section will be added to the end of the document called "Addendum" containing that text. Each line of text will be written as a paragraph.
- Signatures.
- If text is added in the Signatures field, a section will be added the end of the document called "Signatures". Each line of text provided will be presented as one signature field in the document. Up to two signature fields are written to each line in the document. Text added to the Preamble field will be included in the Siguatures section of the document, above the signature lines (figure 8.19).
The font used for these sections is the same as for the rest of the document body, as specified in the Page settings area.
Completing the setup
Click OK to apply the settings and return to the original dialog.
Figure 8.14: Font settings for the body of the report and general layout settings are in the Page settings areas of the Page Setup dialog.
Figure 8.15: An image of a logo has been added for inclusion on the left side of the header, and text has been added for inclusion in the right side (top). The header resulting from these settings is shown in the bottom image.
Figure 8.16: Text, including placeholders, has been in all three fields of the footer. Page numbering is enabled (top). The footer resulting from these settings is shown in the bottom image.
Figure 8.17: Text, including placeholders, has been provided in the Introduction field (top). The resulting document includes that text in a section entitled Introduction, with the placeholder replaced by the relevant values (bottom).
Figure 8.18: Text, including placeholders, has been provided in the Addendum field in the Page Setup dialog (top). The resulting document includes that text in a section entitled Addendum, with the placeholder replaced by the relevant values (bottom).
Figure 8.19: Three signature lines have been added, and a preamble has been configured (top). The resulting document includes a section entitled Signatures, containing the premable text followed by three signature fields presented across two lines (bottom).
Footnotes
- ... below8.1
- The Roboto font is bundled with CLC Workbenches and the CLC Server, and thus selection of this font does not rely on it already being present on the system the software is installed on.
