new Document instance with the contents of the Intent's Uri
Android context
an Intent containing an image or a pdf Uri