summaryrefslogtreecommitdiff
path: root/sw/inc/doc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r--sw/inc/doc.hxx21
1 files changed, 18 insertions, 3 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index df81a13dab12..0078d65ddcc4 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -88,6 +88,8 @@ class SwList;
#include <svtools/embedhlp.hxx>
#include <vector>
+#include <set>
+#include <map>
#include <memory>
#include <boost/scoped_ptr.hpp>
@@ -199,7 +201,6 @@ class SwLayouter;
class SdrView;
class SdrMarkList;
class SwAuthEntry;
-class SwUnoCallBack;
class SwLayoutCache;
class IStyleAccess;
struct SwCallMouseEvent;
@@ -207,7 +208,8 @@ struct SwDocStat;
struct SwHash;
struct SwSortOptions;
struct SwDefTOXBase_Impl;
-struct SwPrintData;
+class SwPrintData;
+class SwPrintUIOptions;
class SdrPageView;
struct SwConversionArgs;
class SwRewriter;
@@ -215,6 +217,10 @@ class SwMsgPoolItem;
class SwChartDataProvider;
class SwChartLockController_Helper;
class IGrammarContact;
+class SwPrintData;
+class SwRenderData;
+class SwPageFrm;
+class SwViewOption;
namespace sw { namespace mark {
class MarkManager;
@@ -391,7 +397,7 @@ class SW_DLLPUBLIC SwDoc :
SwLayoutCache *pLayoutCache; // Layout cache to read and save with the
// document for a faster formatting
- SwUnoCallBack *pUnoCallBack;
+ SwModify *pUnoCallBack;
IGrammarContact *mpGrammarContact; // for grammar checking in paragraphs during editing
mutable comphelper::ImplementationReference< SwChartDataProvider
@@ -1361,6 +1367,15 @@ public:
sal_Bool InsertGlossary( SwTextBlocks& rBlock, const String& rEntry,
SwPaM& rPaM, SwCrsrShell* pShell = 0);
+ // get the set of printable pages for the XRenderable API by
+ // evaluating the respective settings (see implementation)
+ void CalculatePagesForPrinting( SwRenderData &rData, const SwPrintUIOptions &rOptions, bool bIsPDFExport,
+ sal_Int32 nDocPageCount );
+ void UpdatePagesForPrintingWithPostItData( SwRenderData &rData, const SwPrintUIOptions &rOptions, bool bIsPDFExport,
+ sal_Int32 nDocPageCount );
+ void CalculatePagePairsForProspectPrinting( SwRenderData &rData, const SwPrintUIOptions &rOptions,
+ sal_Int32 nDocPageCount );
+
sal_uInt16 GetPageCount() const;
const Size GetPageSize( sal_uInt16 nPageNum, bool bSkipEmptyPages ) const;