From abb09e330d35b2374e84468ee008d75b3ebc6abb Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Wed, 21 Dec 2005 14:09:39 +0000 Subject: INTEGRATION: CWS emptypage (1.6.726); FILE MERGED 2005/12/16 09:40:54 fme 1.6.726.1: #b6354161# Feature - Print empty pages --- sw/inc/pagepreviewlayout.hxx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'sw/inc/pagepreviewlayout.hxx') diff --git a/sw/inc/pagepreviewlayout.hxx b/sw/inc/pagepreviewlayout.hxx index 99a0d0f5b07e..b42f2a560baa 100644 --- a/sw/inc/pagepreviewlayout.hxx +++ b/sw/inc/pagepreviewlayout.hxx @@ -92,6 +92,8 @@ private: mutable bool mbInPaint; mutable bool mbNewLayoutDuringPaint; + bool mbPrintEmptyPages; + /** clear internal data about current page preview OD 11.12.2002 #103492# @@ -606,6 +608,24 @@ public: bool SetBookPreviewMode( const bool _bEnableBookPreview, sal_uInt16& _onStartPageNum, Rectangle& _orDocPreviewPaintRect ); + + /** Convert relative to absolute page numbers (see PrintEmptyPages) + + @author FME + */ + sal_uInt16 SwPagePreviewLayout::ConvertRelativeToAbsolutePageNum( sal_uInt16 _nRelPageNum ) const; + + /** Convert absolute to relative page numbers (see PrintEmptyPages) + + @author FME + */ + sal_uInt16 SwPagePreviewLayout::ConvertAbsoluteToRelativePageNum( sal_uInt16 _nAbsPageNum ) const; + + /** get the number of preview pages + + @author FME + */ + sal_uInt16 GetNumberOfPreviewPages() { return maPrevwPages.size(); } }; #endif // _PAGEPREVIEWLAYOUT_HXX -- cgit v1.2.3