PDA

View Full Version : Print a QWebView many times



Eddyc
28th August 2012, 10:37
Hi,

I use a html page as a template that I modify by program through a QWebView.
I want to modify many time this template and print all in the same pdf file.

Does it possible to do something like that ?

modifytemplate();
webview->print(&printer);
printer->newpage();
modifytemplate();
webview->print(&printer);
printer->newpage();
...
modifytemplate();
webview->print(&printer);


Thanks,