PDF Templates | Using content editors

The toolbar in the PDF template content editor contains the following buttons displayed in the following annotated screenshot: 

  • Undo

  • Redo

  • Bold

  • Italic

  • Underline

  • Strikethrough

  • Link

  • Image

  • Bulleted list

  • Numbered list

  • Increase indent

  • Reduce indent

Annotated screenshot: Buttons for adding images and links, creating lists, formatting and aligning text on the content editor toolbar

Note

The formatting options available for PDF template content editor are based on the Salesforce Rich Text field type, which offers limited options for formatting content. This means the font family or font color cannot be changed.

The text formatting options Bold and Italic are not carried through to the generated PDF even if they display correctly in the preview. Strikethrough formatting is applied but higher than the midpoint of a character. The Underline text formatting works as expected.

If you copy and paste content formatted in an external text editor into PDF template fields, formatting may be entirely or partly lost in the PDF processing and not available in the final PDF.

Insert and manipulate an image

Note
  • Some browsers, such as Firefox, enable you to resize images directly in PDF template generator. For other browsers, use image manipulation software to produce an image of the size you need before inserting.

  • To ensure images are displayed in your PDFs the Remote site supporting the PDF template generator must be correctly configured with the required Profile settings.

You can use images in the PDF template sections, in the header and in the footer. If you use an image as a logo, the guideline for size is 200 pixels wide and 60 pixel high.

Use the following image file types: GIF, JPEG, PNG.

It is not possible to apply an image as a watermark over the PDF content.

To insert an image:

  1. Select Image Screenshot: Image icon on the PDF template toolbar on the toolbar.

    Sage People displays the Insert Image dialog:

    Screenshot: Insert Image dialog for a PDF template

  2. To load an image from a locally accessible location such as your desktop, select the Upload Image tab :

    1. Select Choose File to find and select an image.
    2. Add a Description for visually impaired users.
    3. Select Insert.
  3. To load an image from a URL select the Web Address tab:

    1. Enter the URL.

      You can use images uploaded to the Static Resources or to the Documents tab (Salesforce Classic interface only) in your org. To get the URL, go to the image in Static Resources or the Documents tab and select View file. Then copy the URL from your web browser address bar. Paste the copied URL to the URL field.

    2. Add a Description for visually impaired users.

    3. Select Insert.

To manipulate an image:

  1. Select the image.

    • Use the alignment controls Screenshot: Paragraph alignment control buttons for a PDF template on the toolbar to position it left, center, or right on the page.
    • Select the right-click menu for Cut, Copy, and Paste.
  2. Select off the image.

Tip

You cannot copy images from Microsoft Word or other applications and paste them into the PDF template, you need to use the Image to insert all images.

To insert a link:

  1. Select the text you want to link. Text can be open or in a table cell.

    You can also insert a link without selecting text - the link is inserted as the URL text, for example www.sage.com.

  2. Select Link Icon: Link.

    Sage People displays the Link dialog:

    Screenshot: Link dialog for a PDF template

  3. To specify the link select the Link Info tab :

    Field Description

    Link Type

    Picklist. Select from:

    • URL

    • Link to anchor in the text.

      If your text contains anchors, use Link to anchor in the text to provide a link to an anchor.

    Protocol

    Picklist. Select from:

    • http

    • https

    • ftp

    • other

      If you select other, include the protocol prefix in the URL.

    URL

    The full url, following the colon. For example: www.sage.com

  4. To specify a target frame or window in which to display the selected link select the Target tab :

    Screenshot: Target tab in a Link dialog for a PDF template

    Field Description

    Target

    Picklist. Select from:

    • <frame>
    • New Window
    • Topmost Window
    • Same Window
    • Parent Window
  5. If you do not specify a target frame or window, the link defaults to display in a new browser window.

  6. Select OK.

To edit a link you have inserted in the template:

  • Double click the link to re-open the Link dialog.

To remove a link:

  • Select the text providing the link, or the url if there is no associated text, and delete it. Retype the text if you want to retain it without the link.

Working with tables

You can insert table content in a PDF template and once inserted you can use basic text editing tools to modify table content. Use a word processing package such as Microsoft Word or Google Docs to create your tables, then copy and paste into the template. You can insert tables into Header, Footer or main content sections.

Pasted tables retain row and column layout but may lose text formatting and background tints. For best results:

  • Keep table formatting simple. Avoid a wide range of text sizes and styles.
  • Experiment with a small table including sample text sizes, styles, and background tints you plan to use. If these are preserved in the pasted table, go ahead with the full table in your chosen word processing package.

To apply simple text edits to pasted table content, select the text you want to edit and right click to access your browser editing tools. However:

  • If you do not want the table grid lines to display in the PDF output, hide them in Microsoft Word prior to copying.

  • If you want to center align or right align the table, apply this formatting in Microsoft Word prior to copying.

To delete a table from a PDF template, select the complete table then select Delete on your keyboard or Cut from the browser right click menu.