Converts the local position in the PDF document structure to the global position.
Offset? documentToGlobal(Offset document) => _state._documentToGlobal(document);