Skip to main content
Legend
September 2, 2018
Answered

detecting lines and remove them

  • September 2, 2018
  • 1 reply
  • 1166 views

Hello,

I have an InDesign plugin that draws lines over text when the page is being exported to PDF. These lines indicate modifications to the document, track changes. I would like to be able to remove, make them none printing, set the opacity to invisible from Acrobat. We could go back to InDesign and export the pages again with the lines / marks hidden, but there is the possibility that some might have changed in the document. We are not able to put these lines / marks on a separate layer.

Is this possible in Acrobat?

Is the SDK C++ plugin the best route?

Or, is it possible with javascript?

Thank you.

P.

This topic has been closed for replies.
Correct answer Bernd Alheit

Hello,

This is really great news.

Tagging might be a problem. I thought I might make the colour of the marks the search criteria.

From the documentation:

This is Acrobat DC SDK January 2016 release for Windows and Mac OS.

  (Mac OS X only) All the samples are ported to Xcode 5.1.1. Now, you require Xcode 5.1.1 to run the samples.

So it looks like I am ready to start leaning!

One last question for now. Where do I get an early version of Acrobat DC that is compatible with the downloaded SDK. I have a Creative Cloud membership.

Thank very much for your help.

P.


Use the Acrobat DC of the Creative Cloud.

1 reply

lrosenth
Adobe Employee
Adobe Employee
September 2, 2018

Yes, this is possible in Acrobat – but only via the SDK C++ plugin route.

It’s unfortunate that you can’t put them in a separate layer in InDesign (and I would question why not??!), because that would make this job trivial in Acrobat (and even could then be done in just JavaScript).

PickoryAuthor
Legend
September 2, 2018

Excellent. Thank you for your very quick reply.

The marks / lines are drawn as an attribute to the text, so on a layer is out of the question.

I have downloaded the SDK from here.

Adobe - Adobe Acrobat SDK License Agreement

Is this the correct place? I noticed it is using Xcode 5.2.2, is that correct?

Which minimum version of Acrobat do you I could use?

I have a feeling I have got a lot to lean.

P.

lrosenth
Adobe Employee
Adobe Employee
September 2, 2018

It will certainly be using an older version of XCode, though don’t recall what version. The documentation will most certainly tell you.

You need the SDK that matches the version of Acrobat you plan to support. So assuming you are on Acrobat DC, you need the DC SDK. (plus anything earlier is not supported anyway!)

Yes, lots to learn!