summaryrefslogtreecommitdiff
path: root/sw/inc/EnhancedPDFExportHelper.hxx
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2011-10-19 21:52:17 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2011-10-19 23:13:05 +0400
commit5ad4d151dac1eb887d92200330e31af269d8d1fd (patch)
tree2c961fca9047d72e916f10d95488ca2bd7b01d21 /sw/inc/EnhancedPDFExportHelper.hxx
parentf9f4c631b100ace66999933dc06668ac107fb2bf (diff)
migrate to StringRangeEnumerator in pdfexport
Notes
win32 working build
Diffstat (limited to 'sw/inc/EnhancedPDFExportHelper.hxx')
-rw-r--r--sw/inc/EnhancedPDFExportHelper.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/inc/EnhancedPDFExportHelper.hxx b/sw/inc/EnhancedPDFExportHelper.hxx
index e8befb722fc0..2020d139ce88 100644
--- a/sw/inc/EnhancedPDFExportHelper.hxx
+++ b/sw/inc/EnhancedPDFExportHelper.hxx
@@ -51,7 +51,7 @@ namespace rtl
{
class OUString;
}
-class MultiSelection;
+class StringRangeEnumerator;
class SwTxtNode;
class SwNumRule;
class SwTable;
@@ -215,7 +215,8 @@ class SwEnhancedPDFExportHelper
SwEditShell& mrSh;
OutputDevice& mrOut;
- MultiSelection* pPageRange;
+ StringRangeEnumerator* mpRangeEnum;
+ std::vector<bool> maIsPageEmpty;
bool mbSkipEmptyPages;
bool mbEditEngineOnly;
@@ -230,6 +231,7 @@ class SwEnhancedPDFExportHelper
void EnhancedPDFExport();
sal_Int32 CalcOutputPageNum( const SwRect& rRect ) const;
+ void CalcOutputPageNums( const SwRect& rRect, std::vector<sal_Int32>& rPageNums ) const;
void MakeHeaderFooterLinks( vcl::PDFExtOutDevData& rPDFExtOutDevData,
const SwTxtNode& rTNd, const SwRect& rLinkRect,