diff options
Diffstat (limited to 'WebCore/page/PrintContext.h')
-rw-r--r-- | WebCore/page/PrintContext.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/page/PrintContext.h b/WebCore/page/PrintContext.h index 1080c29..8492718 100644 --- a/WebCore/page/PrintContext.h +++ b/WebCore/page/PrintContext.h @@ -59,6 +59,10 @@ public: static bool isPageBoxVisible(Frame* frame, int pageNumber); static String pageSizeAndMarginsInPixels(Frame* frame, int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft); static int numberOfPages(Frame*, const FloatSize& pageSizeInPixels); + // Draw all pages into a graphics context with lines which mean page boundaries. + // The height of the graphics context should be + // (pageSizeInPixels.height() + 1) * number-of-pages - 1 + static void spoolAllPagesWithBoundaries(Frame*, GraphicsContext&, const FloatSize& pageSizeInPixels); protected: Frame* m_frame; |