Bug 29868 - [Qt] Allow access to page rects calculated by PrintContext + Patch
Summary: [Qt] Allow access to page rects calculated by PrintContext + Patch
Status: RESOLVED DUPLICATE of bug 26584
Alias: None
Product: WebKit
Classification: Unclassified
Component: Printing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2009-09-29 06:19 PDT by Tor Arne Vestbø
Modified: 2009-11-25 01:20 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tor Arne Vestbø 2009-09-29 06:19:10 PDT
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;}
 };
 
 }
Comment 1 Simon Hausmann 2009-11-25 01:20:22 PST

*** This bug has been marked as a duplicate of bug 26584 ***