Select annotations appearance streams contents according to annotation selection

Belongs to

What it does

Allows you to select content based on the selected annotations.

About annotation appearance streams

An appearance stream determines the visual appearance of an annotation (e.g. borders, colors,...). Different from Select annotations (which only selects the annotation content), this Action allows you to also include the appearance stream in your selection, so that other actions can be applied to it. You could for example check for RGB objects only inside appearance streams.

This Action has two options:
  • Select the annotation content if the annotation is selected: If the annotation is selected, all the PDF objects in the appearance stream will be selected too.
  • Select everything except the annotation content of annotations that are not selected: This is the inverse of the first option; everything in the PDF is selected, except for the objects inside appearance streams of unselected annotations.

Example

To select all annotations of the type "Text" and change their color, configure the following Action List:

Select annotations <!-- select Text only - See Select annotations -->
Select annotations' appearance streams contents according to annotation selection <!-- choose first option -->
Change color <!-- Pick the desired fill/stroke color - See Change color -->

To select and change the color of the whole document, including text annotations but excluding video, sound, ... configure the following Action List:

Select annotations <!-- select Text only - See Select annotations-->
Select annotations' appearance streams contents according to annotation selection <!-- choose the second option -->
Change color <!-- Pick the desired fill/stroke color - See Change color -->