Skip to main content
sylvio33
Known Participant
December 11, 2016
Question

bring all text objects to foreground and make transparent on all pages

  • December 11, 2016
  • 2 replies
  • 1101 views

Hello

Is there a way to send all text object to foreground and make transparent on every page of a pdf file?

Now I do this in Illustrator page by page, but I suspect in Acrobat the same could be done in a more straightforward way.

This topic has been closed for replies.

2 replies

Inspiring
December 11, 2016

You can use Preflight to place all text in a layer and then hide the text layer. If that would work you can automate it with JavaScript.

sylvio33
sylvio33Author
Known Participant
December 13, 2016

Thank you for suggestion.

This is something new for me.

I have tried to run a standard profile called "Create separate layers for vector objects, images and text..." and it looks it does separate text and images, first images come and then text according to the existing order.

I wonder whether it is possible to modify profile to send text to the top layer and images to the bottom layer?

Inspiring
December 13, 2016

You can adjust the order of layers (OCGs) by manipulating the doc.setOCGOrder method, though I'm not sure this will do exactly what you want, since OCGs don't necessarily behave like layers do in Illustrator/Photoshop/InDesign for example. You can find ore info in the Acrobat JavaScript reference.

try67
Community Expert
Community Expert
December 11, 2016

Not possible with JS.

sylvio33
sylvio33Author
Known Participant
December 11, 2016

thank you for answer. Then it looks there is no alternative for Illustrator.

try67
Community Expert
Community Expert
December 11, 2016

Yes, that's correct. PDF files are not meant for this type of editing and Acrobat is not built for it.