documentOpened

open override fun documentOpened()

Runs the document's own scripts and then its open action, which is what a viewer does when the file opens (ISO 32000-1 §7.7.4 and §12.6.4.16). Returns the scripts that failed.