Document displacement mapping