| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
How would I go about adding headers and footers when printing a web view? I want to print the contents of a web view and include my own custom header and footer at the top and bottom of the page. If I were implementing my own view, I could do this by assuming responsibility for pagination and implementing -drawPageBorderWithSize: but how do I this when printing a web view? I am printing the web view like so: [[[[webView mainFrame] frameView] documentView] print:self]; So it seems that in order to add headers and footers I would need to subclass the view returned by -[WebFrameView documentView] and provide my own implementation of - drawPageBorderWithSize:. This is about the point where I run out of ideas. Dylan _______________________________________________ Do not post admin requests to the list. They will be ignored. Webkitsdk-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.