Accurate PDF to Word transformation