voyent
Disable visited links highlight  XML
Forum Index -> ICEpdf General
Author Message
blueblackbox

Joined: 27/Oct/2016 05:43:17
Messages: 18
Offline


Hi,

I have a number of links in a pdf that jump to different parts of the pdf(such as index, main menu, etc). Once a link is clicked, it gets a grey background. Is there a property that can disable this highlight of visited links?

Thanks.
Stephen
blueblackbox

Joined: 27/Oct/2016 05:43:17
Messages: 18
Offline


Currently as a workaround I change the system property "org.icepdf.core.views.page.annotation.highlight.*" color and alpha to make the highlight invisible. Is there any better alternative?

Also as a follow up, I have tried changing the Highlight option of Link annotations from the utility pane in the viewer. But the highlight style is always "Invert" even if it is changed to a different style and saved. Can someone confirm this behavior?

Thanks.
patrick.corless

Joined: 26/Oct/2004 00:00:00
Messages: 1982
Offline


The link annotation has highlight mode as defined by the PDF spec and it's up the the viewer to respect the highlight setting.

If you have no control of the PDF content then I think your setting of org.icepdf.core.views.page.annotation.highlight is the way to go. If you had control then you can set the highlight type to none ("N").

I've confirmed the editing feature is working well in 6.3
[Email]
 
Forum Index -> ICEpdf General
Go to:   
Powered by JForum 2.1.7ice © JForum Team