Bug 29868
| Summary: | [Qt] Allow access to page rects calculated by PrintContext + Patch | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tor Arne Vestbø <vestbo> |
| Component: | Printing | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | hausmann |
| Priority: | P2 | Keywords: | Qt |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Other | ||
| OS: | OS X 10.5 | ||
Tor Arne Vestbø
This bug report originated from issue QTBUG-3895
http://bugreports.qt.nokia.com/browse/QTBUG-3895
--- Description ---
Access should be granted to access page rects calculated by WebKit's PrintContext.
Patch:
diff -ur qt-x11-opensource-src-4.5.0-old/src/3rdparty/webkit/WebCore/page/PrintContext.h qt-x11-opensource-src-4.5.0/src/3rdparty/webkit/WebCore/page/PrintContext.h
--- qt-x11-opensource-src-4.5.0-old/src/3rdparty/webkit/WebCore/page/PrintContext.h 2009-02-25 22:09:20.000000000 +0100
+++ qt-x11-opensource-src-4.5.0/src/3rdparty/webkit/WebCore/page/PrintContext.h 2009-03-14 10:12:19.000000000 +0100
@@ -50,6 +50,8 @@
protected:
Frame* m_frame;
Vector<IntRect> m_pageRects;
+public:
+ const Vector<IntRect> & getPageRects() {return m_pageRects;}
};
}
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Hausmann
*** This bug has been marked as a duplicate of bug 26584 ***