diff options
author | Mathias Bauer <mba@openoffice.org> | 2010-12-21 20:49:11 +0100 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2010-12-21 20:49:11 +0100 |
commit | af69eeaeae90037f27e7a8a10fce1b4899d5b305 (patch) | |
tree | e4e2496dbd6bd7afe45d9eb3482ce02f9c291310 /sw/inc/printdata.hxx | |
parent | 09d6c9a395b8849e3e09c694282a1446b786bf80 (diff) | |
parent | 42c3881914531e6d81d6fb05bdc7b308db98146c (diff) |
CWS swlayoutrefactoring: resync to m96, no conflict resolution
Diffstat (limited to 'sw/inc/printdata.hxx')
-rw-r--r-- | sw/inc/printdata.hxx | 39 |
1 files changed, 31 insertions, 8 deletions
diff --git a/sw/inc/printdata.hxx b/sw/inc/printdata.hxx index c8875e856eb8..51cf486479ef 100644 --- a/sw/inc/printdata.hxx +++ b/sw/inc/printdata.hxx @@ -24,8 +24,8 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef _SW_PRINTDATA_HXX -#define _SW_PRINTDATA_HXX +#ifndef SW_PRINTDATA_HXX +#define SW_PRINTDATA_HXX #include <sal/types.h> @@ -45,8 +45,12 @@ class _SetGetExpFlds; class SwViewOption; class OutputDevice; class SwViewOptionAdjust_Impl; +<<<<<<< local class SwPrtOptions; class ViewShell; +======= +class SwWrtShell; +>>>>>>> other class SfxViewShell; // forward declarations @@ -248,7 +252,7 @@ class SwRenderData // the view options to be applied for printing SwViewOptionAdjust_Impl * m_pViewOptionAdjust; - SwPrtOptions * m_pPrtOptions; + SwPrintData * m_pPrtOptions; public: @@ -267,16 +271,22 @@ public: void DeletePostItData(); bool IsViewOptionAdjust() const { return m_pViewOptionAdjust != 0; } +<<<<<<< local bool NeedNewViewOptionAdjust( const ViewShell& ) const; void ViewOptionAdjustStart( ViewShell &rSh, const SwViewOption &rViewOptions ); void ViewOptionAdjust( const SwPrtOptions *pPrtOptions ); +======= + bool NeedNewViewOptionAdjust( const SwWrtShell& ) const; + void ViewOptionAdjustStart( SwWrtShell &rSh, const SwViewOption &rViewOptions ); + void ViewOptionAdjust( SwPrintData const*const pPrtOptions ); +>>>>>>> other void ViewOptionAdjustStop(); bool HasSwPrtOptions() const { return m_pPrtOptions != 0; } - void SetSwPrtOptions( SwPrtOptions * pOpt ) { m_pPrtOptions = pOpt; } - const SwPrtOptions * GetSwPrtOptions() const { return m_pPrtOptions; } - SwPrtOptions & GetSwPrtOptionsRef() { return *m_pPrtOptions; } - void MakeSwPrtOptions( SwPrtOptions &rOptions, const SwDocShell *pDocShell, + void SetSwPrtOptions(SwPrintData *const pOpt) { m_pPrtOptions = pOpt; } + SwPrintData const* GetSwPrtOptions() const { return m_pPrtOptions; } + SwPrintData & GetSwPrtOptionsRef() { return *m_pPrtOptions; } + void MakeSwPrtOptions( SwPrintData & rOptions, const SwDocShell *pDocShell, const SwPrintUIOptions *pOpt, const SwRenderData *pData, bool bIsPDFExport ); @@ -320,4 +330,17 @@ public: //////////////////////////////////////////////////////////// -#endif //_SW_PRINTDATA_HXX +// last remnants of swprtopt.hxx: + +#define POSTITS_NONE 0 +#define POSTITS_ONLY 1 +#define POSTITS_ENDDOC 2 +#define POSTITS_ENDPAGE 3 + +namespace sw { + +void InitPrintOptionsFromApplication(SwPrintData & o_rData, bool const bWeb); + +} // namespace sw + +#endif // SW_PRINTDATA_HXX |