migrate some docViewer calls from annot.filled to annot.isInvalid