I was doing ok until you said "As you know " Why would we know that? PDF links don't contain Xpointers. The range of links available are essentially those available in Acrobat, and you can link to named destinations (also as defined in Acrobat and shown in ISO 32000-1). You can provide your own UI to these links but not normally create new kinds of links, because they wouldn't work anywhere else. You could register an action handler, I suppose.
↧