fromDocument

Creates descriptor for loaded document.

Parameters

document

Document instance.