This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Header and Footer for printing

Tags: None
(comma "," separated)
prashant
Registered Member
Posts
1
Karma
0

Header and Footer for printing

Wed Oct 29, 2008 7:24 am
I have a html page and header and footers are also html content.

Steps I followed

1. QTextDocument::setHtml() to render the HTML

2. QTextDocument::drawContents (QPainter * p)
To print the QTextDocument contents to a painter device.

How do I insert a header or footer for the printouts ?


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell