public interface IJavaScriptEnabler
Modifier and Type | Method and Description |
---|---|
boolean |
shouldEnableJS(IPDFDocument document)
Returns true if JavaScript should be enabled for the document.
|
boolean shouldEnableJS(IPDFDocument document)
document
- The PDF document that is being loaded. An implementation of this class can
look at the document to see if it should enable or disable JavaScript.