change GenerateLDocDriver