Skip to main content
Inspiring
Jun 28, 2017 1:42 AM UTC
Answered

How to get bookmark's multiple actions?

Hi

I use PDBookmarkGetAction (aBookmark) to get the PDF bookmark's action

but if the bookmark has multiple actions, PDBookmarkGetAction (aBookmark) only get one action.

How I can get another action of the bookmark?

Thanks.

This topic is closed to new replies. Start a new post to keep the conversation going.
Test Screen NameCorrect answer
Legend
Jun 30, 2017 11:27 AM UTC

PDAction is a convenience layer - to make the simple case easy. Your case is not simple; there is no PDActionGetNextAction or similar. So as in most more complex cases you have to study the PDF specification then use the Cos layer. There is a PDAction method to get you started with a CosObj.  

4 replies

lrosenth
Adobe Employee
Adobe Employee
Jun 28, 2017 1:32 PM UTC

Actions are chained – you follow the chain from the PDAction

Translate
erieru103Author
Inspiring
Jun 30, 2017 7:59 AM UTC

Would you like to show me the code?

Translate
Test Screen NameCorrect answer
Legend
Jun 30, 2017 11:27 AM UTC

PDAction is a convenience layer - to make the simple case easy. Your case is not simple; there is no PDActionGetNextAction or similar. So as in most more complex cases you have to study the PDF specification then use the Cos layer. There is a PDAction method to get you started with a CosObj.  

Translate