Overview

If you specify a PDF file to use as a template for a Table of Contents, AppendPDF DE creates a Table of Contents with an entry for each input file, including the page number of, and a bookmark to, the first page in the file.

In order to create a complete Table of Contents:

Specify a TOC template file

This section specifies a PDF file that AppendPDF DE uses as a template for the Table of Contents of the output document.

To specify the TOC template file, in the Table of Contents pane:

  1. Click Add File.
    > The Select a TOC PDF file dialog appears.
  2. Browse to the directory which contains the TOC template PDF file.
  3. Select the TOC template file.
  4. Click Add.

Note: If you do not add a TOC template file, no Table of Contents will be generated.

Remove the TOC Template file

To remove the TOC Template file:

  1. From the Menu bar, select Remove > TOC.
    > You are prompted to confirm.
  2. Click Yes to remove the TOC template file and stamp.

Specify a TOC Stamp

To add a stamp to the TOC of the appended document, in the Table of Contents pane:

  1. Click Add Stamp.
    > The Select a Stamp file dialog appears.
  2. Browse to the directory which contains the stamp file.
  3. Select the Stamp file.
  4. Click Add. For more information about Stamp files, see Tips below.

Remove TOC stamp

To remove the TOC stamp:

  1. From the Menu bar, select Remove > TOC Stamp. 
    > You are prompted to confirm.
  2. Click Yes to remove the TOC stamp file.

Specifying a Table of Contents Tips

Adding files

  • Full, OS-specific paths must be used in all cases. AppendPDF DE will automatically use the correctly formatted, full path when you add files. If you use a pre-existing XML parameter file, make sure it specifies full path names. On Windows, you cannot type in the file name.
  • Drag files onto the File Name and Stamp File fields in the AppendPDF DE Table of Contents pane.
  • AppendPDF DE will only use the first page of the Table of Contents file. It will add more pages as needed.

Stamp files

  • A stamp is a piece of text or an image that is placed in your document, as if it is “stamped” onto the page. Text or images added by stamping become a permanent part of the document. A stamp file is a text file you create that specifies how AppendPDF DE applies stamps. For information on creating stamp files, refer to our StampPDF Batch documentation. The stamp file specified in the Table of Contents pane only applies to the Table of Contents of the document. It does not apply to the body of the document or the Cover Page.

Add TOC entries to input files

You can specify any text to use as the entry in the TOC for each file. If you do not specify a TOC entry, AppendPDF DE will use the filename.

To add a TOC entry, in the Input pane:

  1. Click Show TOC Entries.
    > The Input pane changes to show the Filename and TOC Entry.
  2. Locate the file you want to change.
  3. Click on the TOC Entry cell for that file.
    > The TOC Entry cell becomes editable.
  4. Type the text you would like for the Table of Contents entry.
  5. Press Enter.
  6. Repeat for each input file.

If you later need to add files or modify page ranges, click Hide TOC Entries. AppendPDF DE remembers the TOC Entries when switching back to the Page Range view.

Specify TOC formatting options

You can customize the Table of Contents for your needs by specifying various formatting options. You can specify:

See the Sample TOC page for examples of each setting. To Specify TOC formatting options:

  1. From the Menu bar, select Options > TOC.
  2. Fill in or choose the options described below.

Text Attributes

TOC Bookmark Text

Specifies text to appear in the bookmark pane identifying the Table of Contents. The default is “Table of Contents” but you can call it anything you want.

Font Name

Specifies the name of the font for the TOC text. Default is Times-Roman.

Font Size

Specifies the size of the font. Default is 14.

Font File

Name and path of the font file, if needed.

Font name

There are two types of fonts AppendPDF DE can use:

  • One of the Base 14 fonts
  • A PostScript Type 1 font

The names of the 14 base fonts are:

  • Courier, Courier-Bold, Courier-Oblique, Courier-BoldOblique
  • Helvetica, Helvetica-Bold, Helvetica-Oblique, Helvetica-BoldOblique
  • Times-Roman, Times-Bold, Times-Italic, Times-BoldItalic
  • Symbol
  • ZapfDingbats

If you use a PostScript Type 1 font, specify the PostScript name of the font. Refer to the font user documentation for the exact spelling of the font name.

You cannot use TrueType or OpenType fonts with AppendPDF Pro. If you use a font other than a Base 14 font, it must be a PostScript Type 1 font.

Font file

If you specify a PostScript Type 1 font, you must supply the font name, and the path and name of the font file:

  • Type 1 fonts use two files, a .pfb and a .pfm file. Both files need to be in the same directory, but you specify the .pfb file.
  • If there is a conflict between Font Name and Font File, the information in the font file overrides the font name.

Page Attributes

Left Margin

Specifies the left margin, in points. Default is 72 points (1 inch).

Right Margin

Specifies the right margin, in points. Default is 72 points (1 inch).

Header Height

Specifies the distance, in points, from the top of the page box to the start of the Table of Contents entries. Default is 72 points (1 inch).

Footer Height

Specifies the distance, in points, from the bottom of the page box to the end of the Table of Contents entries. Default is 72 points (1 inch).

Pagebox

Specifies the boundaries that AppendPDF DE measures from to determine where to place TOC elements.

  • Mediabox—Empty element that tells AppendPDF DE to use the media box as the page box.  The media box defines the maximum imageable area of the physical medium on which the page is to be printed. This is the default value.
  • Cropbox—Empty element that tells AppendPDF DE to use the crop box as the page box. The crop box defines the region to which the contents of the page are to be clipped (cropped) when displayed or printed. If your printing process specifies an area to crop, make sure to specify cropbox to make sure the TOC does not fall outside the viewable area.
  • Artbox—Empty element that tells AppendPDF DE to use the art box as the page box. The art box defines the extent of the page’s meaningful content as intended by the page’s creator.
  • Bleedbox—Empty element that tells AppendPDF DE to use the bleed box as the page box. The bleed box defines the region to which the contents of the page should be clipped when output in a production environment. This may include any extra “bleed area” needed to accommodate the physical limitations of cutting, folding, and trimming equipment.
  • Trimbox—Empty element that tells AppendPDF DE to use the trim box as the page box. The trim box defines the intended dimensions of the finished page after trimming.

TOC Attributes

Leader

Specifies the leader character, the character used in the space from the end of the text to the page number.

  • If you do not specify a leader, long TOC entries will wrap to a new line. Consider this when choosing LineSpace or TOC entries may overlap each other.
  • If you do specify a Leader, lines will not wrap in the TOC entries. Long lines will be truncated.

Line Space

Specifies the line spacing of the TOC text. Default is 3.

Line spacing is specified as:

  • 1 = single spacing
  • 2 = double spacing
  • and so on…
    The default value is 3. Refer to the Leader note above for more information.

    Note: If you specify 0, bookmarks are created, but no TOC text is applied to the TOC page.

Column Width

Specifies the width of the column that holds the TOC page numbers. Default is 72 points (1 inch).

Column Width can be used to tighten or loosen up the space between the numbers and the leader. Make sure it is big enough to hold all the digits of the page numbers in the font size used.

Color Space

Specifies whether the text for the TOC is grayscale or RGB color. If it is:

  • Grayscale, the gray level is specified,
  • RGB color, the Red, Green, and Blue levels are specified to create a color.

Gray

If the colorspace is Grayscale, Gray specifies the percentage of white:

  • 0 would be black
  • 50 would be medium gray
  • 100 would be white

Red, Green, Blue

If the colorspace is RGB, red, green, and blue specify the levels of each color from 0-255, such that:

Red Green Blue Result
0 0 0 Black
255 0 0 Red
0 255 0 Green
0 0 255 Blue
255 255 255 White
128 128 128 Gray

16 million colors are possible with this system. You can get help choosing RGB values from graphic design software or several internet sites (for example, www.visibone.com/colorlab).

Note: that Red = Green = Blue makes gray. You can duplicate any gray color in RGB with appropriate choice of equal values.

Click Set Color to choose a color.