public interface IJavaScriptEnabler
Modifier and Type | Method and Description |
---|---|
boolean |
shouldEnableJS(com.qoppa.pdf.dom.IPDFDocument document)
Returns true if JavaScript should be enabled for the document.
|
boolean shouldEnableJS(com.qoppa.pdf.dom.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.