summaryrefslogtreecommitdiff
path: root/sw/inc/pagepreviewlayout.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-12-21 14:09:39 +0000
committerOliver Bolte <obo@openoffice.org>2005-12-21 14:09:39 +0000
commit4aca26b0e7458b16e90750df8e6d3b424b33385f (patch)
treed43da4f673c0684c9427d8b8c5696041887a2cbe /sw/inc/pagepreviewlayout.hxx
parente1f39a6bdb6ea45e7de531b5908a458dc5b23059 (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.hxx20
1 files changed, 20 insertions, 0 deletions
diff --git a/sw/inc/pagepreviewlayout.hxx b/sw/inc/pagepreviewlayout.hxx
index 99a0d0f5b0..b42f2a560b 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