PDF Templates | Using content editors

The toolbar in the Sage People PDF template content editor contains the following buttons. They display in the following 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. They offer limited options for formatting content. This means you can't change the font family or font color.

The system doesn't carry text formatting options Bold and Italic through to the generated PDF. This is even if they display correctly in the preview. Strikethrough formatting applies but higher than the midpoint of a character. The Underline text formatting works as you expect.

You can copy and paste content you formatted in an external text editor into PDF template fields. However, formatting can be entirely or partly lost in the PDF processing. It won't be available in the final PDF.

Insert and manipulate an image

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

  • To ensure images display in your PDFs, configure the remote site supporting the PDF template generator correctly. Use 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's not possible to apply an image as a watermark over the PDF content.

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 build a URL from a Static Resource.

      1. Get your site URL for your PDF site. For example, https://<<domain>>.my.salesforce-sites.com/<<sitename>>

      2. Get the Resource identifier of the resource YRL. For example, /resource/<<resourcenumber>>/<<StaticResourceName>>

      3. Combine these two to build the URL. For example, https://<<domain>>.my.salesforce-sites.com/<<SiteName>>/resource/<<ResourceNumber>>/<<StaticResourceName>>

    2. Add a Description for visually impaired users.

    3. Select Insert.

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 can't 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 inserts 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. This provides 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 to display the link you select, click 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 don't specify a target frame or window, the link defaults to display in a new browser window.

  6. Select OK.

Links you insert in this way are clickable. Entering a URL as ordinary text renders it as ordinary text in the PDF. The system doesn't convert them to links automatically.

To edit a link you've 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's 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 then 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 can 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 the system preserves these in the pasted table, go ahead with the full table

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

  • If you don't want the table grid lines to display in the PDF output, hide them in Microsoft Word before copying

  • If you want to center align or right align the table, apply this formatting in Microsoft Word before 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.