Parashift PDF Toolkit

Parashift's PDF Toolkit adds additional functionality to Alfresco that allows you to work with PDF files. All of the actions are available as actions that can be used in content rules, and as document library actions in the document browse and detail views.

pdf-toolkit

Features

  • Append - Append PDF to another PDF, generating a new PDF
  • Split - Splits a PDF based on pages or range given, (e.g. 2, 4, 6-8 etc.), generating new PDFs for each section.
  • Insert PDF - Insert PDF at a specific page
  • Delete page(s) from a PDF document
  • Extract page(s) from a PDF document
  • PDF Watermarking
  • PDF Encryption / decryption
  • Digital Signatures
  • Rotate PDF Documents

Changelog

The change log for Document Linking can be found here

Installation

Document linking comes with both a Share and Repo amp. Please follow our Installation guide on how to install this module.

Usage

Usage of the PDF Toolkit is accessed via the Actions section of Document Details for any given PDF file.

Appending to a PDF document

Appending will allow you to append a PDF to another PDF, so that you can merge them together.

  • Navigate to the Document Details of a PDF document.
  • Select Append PDF Document
  • If you want to replace the current PDF, rather than create a new one:
  • Select Execute in Place
  • Select the PDF you want to append with the To append option.
  • If you want to create a new PDF:
  • Leave Execute in Place unticked
  • Type the Destination Name as the PDF name you want to create
  • Select the Destination Folder where the new PDF will be stored.
  • Select the PDF you want to append with the To append option.

Delete Pages from a PDF document

Deleting pages will remove pages from the PDF.

  • Navigate to the Document Details of a PDF document.
  • Select Delete Pages from PDF
  • If you want to replace the current PDF, rather than create a new one:
  • Select Execute in Place
  • Select the pages you want to delete.
  • If you want to create a new PDF:
  • Leave Execute in Place unticked
  • Type the Destination Name as the PDF name you want to create
  • Select the Destination Folder where the new PDF will be stored.
  • Select the pages you want to delete.

Insert Pages into a PDF document

Inserting Pages will allow you to insert pages into a PDF from another PDF. This is similar to the append option, but allows you to specify where the pages are inserted.

  • Navigate to the Document Details of a PDF document.
  • Select Insert Pages into PDF
  • If you want to replace the current PDF, rather than create a new one:
  • Select Execute in Place
  • Select the PDF you want to insert with the Content to insert option.
  • Select the Page you want to insert to.
  • If you want to create a new PDF:
  • Leave Execute in Place unticked
  • Type the Destination Name as the PDF name you want to create
  • Select the Destination Folder where the new PDF will be stored.
  • Select the PDF you want to insert with the Content to insert option.
  • Select the Page you want to insert to.

Split Pages from a PDF document

Splitting pages allows you to split a PDF document up into multiple pages. This will create new PDF documents.

  • Navigate to the Document Details of a PDF document.
  • Select Split PDF Document
  • Select the Destination Folder where the new PDFs will be stored.
  • Enter in the pages to split, seperated by commas for multiple splits (i.e 3, 6-9 will create 2 splits, first just page 3, and the second, pages 6 to 9)

Electronically Sign PDF Document

You can sign a PDF document with a digital signature so that it can be verified not to be tampered with.

Note

You will require a digital certificate bundle before proceeding. This should be a .p12 file and needs to be uploaded to Alfresco

  • Navigate to the Document Details of a PDF document.
  • Select Sign PDF Document
  • If you want to replace the current PDF, rather than create a new one:
  • Select Execute in Place
  • If you want to create a new PDF:
  • Leave Execute in Place unticked
  • Type the Destination Name as the PDF name you want to create
  • Select the Destination Folder where the new PDF will be stored.
  • Select your certificate bundle file .p12
  • Select the Alias of the certificate
  • Type in the key store password.
  • Type in the password agains the PDF
  • Put in the Location & Reason if required
  • If you don't require a visible signature, then select Hidden under the apply visible signature
  • If you select Visible:
  • Select the page you want the signature displayed
  • Select the position
  • Select the location x & location y of the signature
  • Select the width & height

Watermarking a PDF Document

A watermark allows you to add an image to the PDF such as a company logo or similar.

Note

you will need an image uploaded to Alfresco to apply a watermark. You can also apply it as text

  • Navigate to the Document Details of a PDF document.
  • Select Watermark PDF Document
  • If you want to replace the current PDF, rather than create a new one:
  • Select Execute in Place
  • If you want to create a new PDF:
  • Leave Execute in Place unticked
  • Type the Destination Name as the PDF name you want to create
  • Select the Destination Folder where the new PDF will be stored.
  • Select the Depth of Over or Under to determine whether the watermark will be behind or in front of other parts of the PDF
  • If the type is Image:
  • Select the Watermark Image from an uploaded image in Alfresco
  • If the type is Text:
  • Type the text you want to enter
  • Change the Font & Font Size if needed
  • Apply to pages using a Page Scheme (all, odd or even) or selecting the pages manually
  • Change the Position as needed, setting the x and y if it's manually defined

Rotating a PDF Document

You can rotate a PDF document so that some pages can be rotated.

  • Navigate to the Document Details of a PDF document.
  • Select Rotate PDF Document
  • If you want to replace the current PDF, rather than create a new one:
  • Select Execute in Place
  • If you want to create a new PDF:
  • Leave Execute in Place unticked
  • Type the Destination Name as the PDF name you want to create
  • Select the Destination Folder where the new PDF will be stored.
  • Type in the degrees of Rotation (90, 180, 270) to indicate rotation
  • Apply to pages using a Page Scheme (all, odd or even) or selecting the pages manually

Encrypt PDF Document

If you want to password protect a PDF document, then this should be encrypted using the encrypt option.

  • Navigate to the Document Details of a PDF document.
  • Select Encrypt PDF Document
  • If you want to replace the current PDF, rather than create a new one:
  • Select Execute in Place
  • If you want to create a new PDF:
  • Leave Execute in Place unticked
  • Type the Destination Name as the PDF name you want to create
  • Select the Destination Folder where the new PDF will be stored
  • Type the User password for the password that users need to decrypt
  • Type the Owner password for the password that owners need to decrypt
  • Select the Allow options to delegate what a user is capable of doing
  • Select the Encryption level

Decrypt PDF Document

If you want to decrypt a password protected PDF document, then this should be decrypted.

  • Navigate to the Document Details of a PDF document.
  • Select Decrypt PDF Document
  • If you want to replace the current PDF, rather than create a new one:
  • Select Execute in Place
  • If you want to create a new PDF:
  • Leave Execute in Place unticked
  • Type the Destination Name as the PDF name you want to create
  • Select the Destination Folder where the new PDF will be stored
  • Type the Owner password to decrypt it.

Extract Pages

If you want to extract PDF pages, then you can use the extract function.

  • Navigate to the Document Details of a PDF document.
  • Select Extract Pages from PDF
  • Type the Destination Name as the PDF name you want to create
  • Select the Destination Folder where the new PDF will be stored
  • Apply to pages using a Page Scheme (all, odd or even) or selecting the pages manually