Adding other languages to the Colecandoo scripts

As this site has become more widely known around the world, the issue of localization has been raised. The scripts I’ve written are based on my initial use as an English speaker with the International English version of Adobe InDesign. That’s fine for myself and other anglophones, but there are also times when scripts that are run on different language versions of Adobe InDesign:

  • Have an English user interface or output; or
  • Didn’t work because the script relied on coding that required a code reference based on the English language version of Adobe InDesign.

To this end, I’ve rectified issues concerning non-functioning scripts based on coding issues. However, translating the scripts into other languages is a task that I cannot undertake on my own as I do not speak other languages besides English, and would never solely rely on automatic translation software or services such as Google Translate.

I’m also aware that some of the scripts on this site gain more traction from countries where English is not the first spoken language, such as the following videos:

Though recently, the stars have somewhat aligned. I was approached to update my wall-planner script so that it could contain German and French user interfaces and outputs. With the assistance from the requester, as well as further assistance that has expanded this to Portuguese as well, this script has been updated.

In addition, the script can provide a wall planner in one of fourteen languages:

  • English
  • dansk
  • deutsch
  • español
  • ελληνικά
  • français
  • italiano
  • Nederlands
  • norsk
  • polski
  • português
  • Русский
  • suomi
  • svenska

The updated script can be found on the scripts page. Ultimately, I would like to update this – and other scripts on this site that contain user interfaces or outputs – to feature other languages besides English. If this is of interest to you, please contact me via my contact page.

Extract an Image from an image field in an Acrobat Form

In January 2017, Acrobat DC added two new buttons to the prepare form panel in Adobe Acrobat DC: Add Image and Add Date:

eximage01

The Add Image button creates a rectangle that – when clicked in Adobe Acrobat Pro or Reader DC – launches Finder (Mac) or Explorer (Windows) to navigate to an image to be inserted into that field.

To demonstrate this, I have created a business card order form in Adobe InDesign for a Travel Agency.

eximage02

Note that I have not made the image field in Adobe InDesign. There is a good reason for this: it isn’t possible at the time of writing the article as the option doesn’t exist in the buttons and forms panel in Adobe InDesign.

eximage03

While this is frustrating, it can be added in Adobe Acrobat. I’ll leave a link to the indesign uservoice feature request to hopefully have this (and the add date button) added in future (ignore that the Adobe Staff says its fixed at the time of writing – I disagree).

For now, I’ll export this file as an interactive PDF and add the add image button to the artwork.

eximage04

I can then close out of preview and look at the form. This should be fine for testing purposes.

eximage05

For the purposes of prototyping this form, I’ll type some dummy data and use a stock photo from Adobe Stock.

eximage06

Fields all look fine, the text can be extracted by either cutting and pasting into my InDesign card template, or using the export option from the Prepare Form tools. While the image isn’t juxtaposed correctly, I can do that once I extract the image from the PDF… or at least I thought.

The image won’t extract

If I go to the Edit PDF tools of Acrobat, the image (and its field) cannot be selected.

eximage07

The image isn’t shown as an attachment in the attachments tab.

eximage08

If I use the Export all as images from the Export PDF tab, will that work?

eximage09

No, it only exports the images of the beer bottles and the Eiffel Tower shown in the original card.

How about if I use the Edit Object tools, right click on the image and select “edit image”? Unfortunately, this is unavailable too.

eximage10

Using the Enfocus Pitstop Professional Plug-in, can I extract the image this way? No!

eximage11

Yes, I could zoom in and take a screen capture, or render the PDF in Adobe Photoshop, but neither will retrieve the image to the exact resolution the original image was supplied. Looking at this particular image, if I zoom in at 3200%, it is quite a high resolution image.

eximage12

At this point, I turned to the internet for help, only to find the following thread on the Adobe Forums that contained a response from an Adobe Staff Member that read as follows:

eximage13

To me, this is bizarre… the whole purpose of adding an image would be to remove it later for another purpose, especially since the form field doesn’t have any cropping, scaling or rotating options. The whole point of me making this form was so that:

  • the client didn’t need the full version of acrobat to add the image as an attachment to the PDF;
  • the client Didn’t need to send the PDF and the image separately;
  • I could receive one file to prepare the content of the business cards, rather than bits and pieces from various emails or downloads.

However, all is not lost!

There is a way

Create a new InDesign file and place the filled in interactive PDF as an image.

eximage14

Export the file as a print PDF using the [High Quality Print] setting with the following change to the compression panel:

eximage15

Now, when the PDF opens in Adobe Acrobat Professional DC, I’m able to use the Print Production Tools to click on the image and then select Edit Image.

eximage16

Once the image opens into Photoshop, I can see it is the same size as the original.

eximage17

So yes, it is possible to extract an image from the Image Field of a PDF, but it takes a little work. I’m just frustrated why the Acrobat Team made it difficult “by design”.

Lastly, if anyone from the Acrobat Team is reading this going “he’s having a go at us again”, rest assured, I will be praising the team in an upcoming post.

Reacting to bad Redacting

In early January 2019, a high profile case of “Redaction Fail” made the headlines when it was revealed that the redacted material could still be read if copied and pasted into a word processor. My initial reaction was of concern, because my first thought was that the redaction feature in Adobe Acrobat had a serious drawback. However, this was soon put to rest once I viewed the actual document in question, and realised that Acrobat’s redaction feature had not been used, but another low-tech method was used instead.

Low-tech method 1: Highlight

In Microsoft Word, it’s easy to change the highlighter colour to black to act as a redaction. Similarly, Adobe InDesign has a similar feature where an underline can be created that is the same colour as the text and adjusting the height of the line to the top of the ascender to the bottom of the descender.

lazy001

Looks great on screen, and looks great on a PDF.

lazy002

Be assured though that this is NOT REDACTED. I know this because I can reveal what was written in several ways:

  • By highlighting the text and copying into any text editor;

lazy003

  • By using an accessibility feature that will allow the line (or page) to be read back

lazy004

  • In Acrobat Professional, using the Edit feature to change the colour of the type

lazy005

  • Editing the PDF with the Enfocus Pitstop plug-in in a similar fashion to the last method, or even remove the redaction itself or view the type under the redaction using the wireframe view.

lazy006

  • By highlighting the text, opening the tags panel and selecting Find Tag from Selection

lazy007

  • By highlighting the text, opening the content panel and looking up the content by its page location

lazy008

  • Via the print production tools in Acrobat Professional, go to the output preview and in the Show portion of the dialog box, select Text from the dropdown

lazy009

(The above method can be circumvented if the redaction character style has a type fill of [None] and the underline coloured [Black]).

To be fair, no security settings had been applied to this test file. If I apply password security so that copying, pasting and accessibility is off, the last three methods can still be employed to see this text, albeit with many options greyed out:

lazy010

 

Low-tech method 2: Redact Font

Fonts (such as the redacted font by David Walsh) give the type a redacted look without the need to create a highlighter-style effect.

lazy011

Again, rest assured that this document is NOT REDACTED.

Park the fact that the copy has now reflowed after the style has been applied, many of the previous methods can still be employed to read this text.

lazy012

Yes, there is also the drastic action of employing this technique, adding security AND converting all text to outlines using a method described over at InDesignSecrets, but doing so will make a PDF that is:

  • Unsearchable and unprintable;
  • Has no accessibility features;
  • Involves manipulating the original artwork, rather than a file that has to have redactions applied.

If you need to redact the file, use Adobe Acrobat’s Redact feature, and make sure to read the instructions to be sure that is being used properly.

lazy013

The instructions on the Adobe Acrobat help site for using this feature are quite useful.

A related redaction warning

If photographs also need to be redacted, note that if unredacted versions of the images exist online, chances are that Google’s Image search or Tineye may be able to find the unredacted originals.

Take the following image that was used on this site two articles ago. I’ve done a basic redaction our faces and run the redacted image through exifpurge to remove any metadata.

lazy014

If I drag and drop this image into Google’s image search, it is able to find the unredacted versions of this photo that are currently online:

lazy015

While this example was a light-hearted example, much more serious examples can be found via ABC Australia’s Media Watch programme.

 

Checkboxes are back in Acrobat Comments… sort of…

Following on from my last post (or rant) about the removal of the checkbox in Adobe Acrobat’s commenting tools, I can report that the December 2018 release of Adobe Acrobat has brought back checkboxes within the commenting tools. However, it does come with some caveats:

It is an “opt-in” preference

Unfortunately, the ability to see checkboxes is off by default. If you are missing the checkboxes and want them back, you have to make sure that you have the following checkbox checked in your preferences:

checkbox1

Checkboxes are only shown when comments are selected

Unlike earlier versions of Acrobat that would show all checkboxes (whether the comment was selected or not) the checkboxes will only appear once a comment is selected.

 

checkbox3

I find this frustrating as I have to click on the comment to then have access to the checkbox, whereas in previous (admittedly older) versions, the checkboxes always appeared. Kelly Vaughn’s Document Geek site does a fantastic job of showing the different ways comments were handled in previous versions.

However, if all of the comments are selected, then all of the checkboxes become visible.

checkbox2

 

Problem solved, right? Sadly, no. If any of those checkboxes are clicked, all checkboxes that appear will change state from unchecked to checked.

checkbox5

 

So while checkboxes can appear in an unchecked state, the UI still has lots of room for improvement when compared to previous versions of Acrobat, or other paid PDF viewers such as Bluebeam Revue. For now, it’s a small win to see the checkboxes return.

The share button can be made smaller

Another UI fixup that was highly requested was the ability to remove the great big share button in the top right. Again, it’s there by default, but you can make it smaller by right clicking next to the button and selecting the Hide Share Button Label option:

checkbox4.png

So the button won’t go away, but will at least be half the size:

checkbox6

Déjà vu?

Unfortunately, this is the second time in recent years that myself and others had to twist the Acrobat team’s arm to bring back a feature that had been removed (or deprecated), such as the time that key tools from the commenting panel were removed before being reintroduced months later following user complaints.

In this instance, this isn’t the outcome that I (and many other users) were after, but at least it is a step in the right direction. Let’s hope that the next version of Acrobat introduce some of the community’s suggestions about the checkboxes, as well as other pain-points that can be found on the Acrobat Uservoice.

%d bloggers like this: