Professional editing of PDFs with Master PDF Editor
Polished

© Lead Image © cobalt, 123RF.com
Master PDF Editor offers an easy option for correcting small typos and protecting documents against unauthorized access.
PDF format is an easy and ever-popular means for exchanging digital documents. However, unless you're willing to pay lots of money, the tools for working with PDFs are limited and sometimes cumbersome. For example, a simple typo often necessitates a time-consuming rework of the entire document.
Free software offers several rudimentary tools for generating PDFs. For example, OpenOffice and LibreOffice include an import filter originally from KOffice (now Calligra) that allows limited PDF editing (Figure 1), but the results are not always satisfactory.

If you're looking for a simpler and more powerful way to work with PDFs, you're better off with a PDF editor. PDF editors simplify the task of working with PDFs because they let you modify a document directly, without having to recreate it. Code Industry's Master PDF Editor [1] is a popular editing tool that displays the document in a way that is much closer to the printed version (Figure 2).

Hands On
Many distributions let you install Master PDF Editor directly from the respective package sources; this is the case with Arch Linux and Ubuntu and its derivatives. Alternatively, the manufacturer provides binary packages for 32- and 64-bit Linux machines free of charge (see the "Installation" box). For around US$ 50 (EUR 40, UK£ 30), you can purchase a license that includes both support and a Windows or Mac license.
Installation
In Ubuntu and many other distributions, the software is installed below /opt/master-pdf-editor/
or /opt/masterpdfeditor/
. Additionally, the program stores its preferences, below .config/Code Industry/
in your home directory.
The developers of the editor are actively working on new versions to provide additional features and fix bugs. They released several versions recently over a period of two months. The Check for Update function in the Help menu lets you discover whether a new version is available.
Editing with the program is simple: Instead of first converting the file to another format, Master PDF Editor loads it directly into a viewer. The process is much quicker than importing into one of the office programs, in which editing is done in the vector graphics component. Master PDF Editor is more like a word processor or desktop publishing software, as the structure of the main window reflects. The toolbars below the menus offer similar functions to those applications.
On the left side of the main window are four buttons that let you toggle between different modes: Pages gives you direct access to the pages in the document (Figure 3). To extract a number of contiguous pages from the document, use the function from the context menu in the sidebar to delete the preceding and following pages.

The Bookmarks button shows the document structure, if the PDF supports this. Master PDF Editor can retrospectively change bookmarks, if needed. In the example shown in Figure 4, a new entry is added to the document at the desired location in the list of bookmarks using the Add Bookmark feature in the context menu. You can configure how exactly to display the bookmark in Options.

Bookmarks generally provide the ability to integrate various functions via Action. However, some documents in PDF/A format (a PDF subset for long-term archiving of digital documents) prevent this. Additionally, active content in PDF documents is a serious security issue, so you should use this feature with caution. In any case, not all PDF viewers on Linux will actually display such content correctly.
Newer versions of the PDF format (as of PDF 1.7) let you attach additional files to the document; you can extract and use these files later on. This feature is useful for source code, for example, that you describe step by step in the document and provide in full as a file attachment. In the sidebar, the Attachment entry shows the appended files. A context menu lets you to remove attachments or add new ones (Figure 5).

The fourth button in the sidebar, Search, provides an advanced search feature: All matches in a document are displayed as a list. This means you can go directly to any match, as needed, and compare it with the previous one.
Editing
Master PDF Editor distinguishes between different document editing modes. Edit Document lets you modify parts of the document, such as lines of text, images, or interactive elements. Double-clicking one of these objects pops up a dialog. Edit Text lets you change the aspect of the text, such as fonts, colors, and attributes.
You can use the Hand Tool to move pages, open links, and select text passages. Select Text lets you highlight parts of the text that you then edit. To toggle between these modes, use the keyboard shortcuts Alt+1 through 4; alternatively, you can select the functions in the Tools menu. Table 1 lists other important keyboard shortcuts.
Table 1
IMportant Keyboard Shortcuts
Keyboard Shortcut | Function |
---|---|
File Functions |
|
Ctrl+N |
New document |
Ctrl+O |
Open document |
Ctrl+S |
Save document |
Ctrl+Alt+S |
Save as |
Ctrl+P |
|
Ctrl+D |
Show and configure properties |
Ctrl+W |
Close document |
Editing Functions |
|
Ctrl+X |
Cut |
Ctrl+C |
Copy |
Ctrl+V |
Paste |
Ctrl+A |
Select all |
Ctrl+F |
Normal search |
F3 |
Continue searching |
Ctrl+Z |
Undo |
Ctrl+Y |
Redo |
Del |
Delete selection |
Ctrl+I |
Insert image |
Ctrl+T |
Insert text |
Ctrl+L |
Insert link |
Ctrl+Shift+N |
Insert empty page |
Alt+Del |
Delete pages |
Ctrl+M |
Move pages (also directly with the mouse) |
Display Functions |
|
Ctrl++ |
Zoom in |
Ctrl+ - |
Zoom out |
Ctrl+H |
Highlight interactive fields |
If you just want to correct some spelling mistakes, for example, just double-click the appropriate line or word and then you can edit the text. However, the editor here uses the previously configured character set. Because PDFs typically only embed the characters of a font that are actually used, you might see the error message shown in Figure 6 if you are unlucky.

However, Master PDF Editor also lets you modify the current font for selected areas. The typical aspects of a font (bold, italic, and the combination of both) are set using the lower of the two toolbars. You can also adjust the current font size and the color used. In the fields to the right, you can configure the stroke and shape of the text. You can also use the Stroke feature to change the outline of a font to a different color.
Furthermore, the current version of the tool only lets you change the fonts for entire lines if they are located in a box. The developers want to remove this limitation in a future release.
In some cases, PDF documents consist of many objects on a page. This design allows for special effects, but occasionally causes problems during post-processing if the objects overlap in the wrong order. Master PDF Editor provides buttons to fix this (Figure 7).

Images and Notes
Master PDF Editor lets you extract images quickly and easily from PDF documents; you can replace the images or even add new ones. If you select the desired image in edit mode (Alt+1), you can Save as image via the context menu. Pressing the Del key deletes the image, and Ctrl+I inserts a new image. You can change the image size using handles on the frame.
Selecting File | Export lets you save individual pages or the entire document as an image. The results here are significantly better in quality than converting with ImageMagick, and the resulting file is more compact.
Even the Okular PDF reader from the KDE collection is capable of creating notes and highlights in PDFs (see the "Commenting PDFs with Okular" box). However, Master PDF Editor simplifies this job decisively: You can place your notes directly in the document and forward the document with your annotations in place. You create a note by selecting Notes | Add comment. To do this, you can draw a box that can even store extensive texts (see Figure 8).
Commenting PDFs with Okular
The KDE PDF reader Okular can locally save bookmarks and comments on the PDFs you view. Pressing F6 pops up a sidebar on the left with the required tools. The existing annotations are available in Reviews (next to the preview), where you also delete them again, if needed.
Okular saves comments in the ~/.kde/share/apps/okular/docdata/
directory in files named <number>.000-000_<document>.pdf.xml
. By sending these files along with the PDF file to a different reviewer, you allow the recipient to view and continue to edit the comments after opening the file in Okular.

Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.
News
-
The GNU Project Celebrates Its 40th Birthday
September 27 marks the 40th anniversary of the GNU Project, and it was celebrated with a hacker meeting in Biel/Bienne, Switzerland.
-
Linux Kernel Reducing Long-Term Support
LTS support for the Linux kernel is about to undergo some serious changes that will have a considerable impact on the future.
-
Fedora 39 Beta Now Available for Testing
For fans and users of Fedora Linux, the first beta of release 39 is now available, which is a minor upgrade but does include GNOME 45.
-
Fedora Linux 40 to Drop X11 for KDE Plasma
When Fedora 40 arrives in 2024, there will be a few big changes coming, especially for the KDE Plasma option.
-
Real-Time Ubuntu Available in AWS Marketplace
Anyone looking for a Linux distribution for real-time processing could do a whole lot worse than Real-Time Ubuntu.
-
KSMBD Finally Reaches a Stable State
For those who've been looking forward to the first release of KSMBD, after two years it's no longer considered experimental.
-
Nitrux 3.0.0 Has Been Released
The latest version of Nitrux brings plenty of innovation and fresh apps to the table.
-
Linux From Scratch 12.0 Now Available
If you're looking to roll your own Linux distribution, the latest version of Linux From Scratch is now available with plenty of updates.
-
Linux Kernel 6.5 Has Been Released
The newest Linux kernel, version 6.5, now includes initial support for two very exciting features.
-
UbuntuDDE 23.04 Now Available
A new version of the UbuntuDDE remix has finally arrived with all the updates from the Deepin desktop and everything that comes with the Ubuntu 23.04 base.