Skip to main content
AODA_Developer
Inspiring
August 22, 2024
Question

SDK API to access tag element data items?

  • August 22, 2024
  • 1 reply
  • 303 views

I'm working on a new feature in an Acrobat Plugin to help with Accessibility programming.

I need a way to access a tag's "Tag Elements" – this is the encoded data pairs that can be seen by right-selecting a tag, selecting "Properties...", and then clicking on the "Edit tag" button. See the attached screenshot for reference.

Essentially, I need to extract the "/Headers" array, or any item value pair (i.e. <"/S", "/TD">).  I've tried PDSElementGetAttrObj, and a few similar methods, but they don't seem to provide the right (or any) data.

I've looked through the SDK API docs and cannot find a function that provides read/write access to this level of data. Anyone have any ideas?

 

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
August 22, 2024

May be possible at Cos layer.

AODA_Developer
Inspiring
August 22, 2024

I was thinking of that too, but the tags and their data are really an aspect of the PDS layer, so I though that is where the info should be encapsulated. I don't like going down into the COS layer, but I'll have a look to see if there is anything there. Thanks for the feedback!