replace report pdf generation with open office templating solution