diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-12-21 14:09:39 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-12-21 14:09:39 +0000 |
commit | abb09e330d35b2374e84468ee008d75b3ebc6abb (patch) | |
tree | c84938d1c5973f87e97e30a3e47984942efee3bd /sw/inc/pagepreviewlayout.hxx | |
parent | 260d6cc6471444b4ef20ed6673831b0b12f96333 (diff) |
INTEGRATION: CWS emptypage (1.6.726); FILE MERGED
2005/12/16 09:40:54 fme 1.6.726.1: #b6354161# Feature - Print empty pages
Diffstat (limited to 'sw/inc/pagepreviewlayout.hxx')
-rw-r--r-- | sw/inc/pagepreviewlayout.hxx | 20 |
1 files changed, 20 insertions, 0 deletions
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 |