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