Dear Dmitry,
just wanted to let you know the whole idea works perfectly so far. Exporting as html is even more elegant, as it is easier to edit. Great thing you are doing, really!
One further question, though: creating a pdf report, is there a way to set properties of the gantt diagram at the end? GP seems to fit it to one page by default, regardles of its size. This may become very small if the project is long. Or turn this graph off, perhaps?