Converts from DocumentImaging to IDoc