summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc/HeaderFooterWin.hxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-09-05 15:45:15 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-09-06 11:28:10 +0200
commit849d47326d4359fb55685260869df68672739c17 (patch)
tree0039d4de045c3f0e7b9a36162353c93a761cf6d7 /sw/source/ui/inc/HeaderFooterWin.hxx
parent2f150822d854d8fb5df5a7f32cefd6cd623824a1 (diff)
Header/Footers: SwPageDesc as a member of SwHeaderFooterWin
Diffstat (limited to 'sw/source/ui/inc/HeaderFooterWin.hxx')
-rw-r--r--sw/source/ui/inc/HeaderFooterWin.hxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/sw/source/ui/inc/HeaderFooterWin.hxx b/sw/source/ui/inc/HeaderFooterWin.hxx
index b41fd0974e32..9f59f142774d 100644
--- a/sw/source/ui/inc/HeaderFooterWin.hxx
+++ b/sw/source/ui/inc/HeaderFooterWin.hxx
@@ -28,6 +28,8 @@
#ifndef _HEADERFOOTERWINDOW_HXX
#define _HEADERFOOTERWINDOW_HXX
+#include <pagedesc.hxx>
+
#include <vcl/floatwin.hxx>
/** Class for the header and footer separator control window.
@@ -37,12 +39,13 @@
*/
class SwHeaderFooterWin : public FloatingWindow
{
- SwEditWin* m_pEditWin;
- const rtl::OUString m_sText;
- bool m_bIsHeader;
+ SwEditWin* m_pEditWin;
+ rtl::OUString m_sLabel;
+ SwPageDesc* m_pPageDesc;
+ bool m_bIsHeader;
public:
- SwHeaderFooterWin( SwEditWin* pEditWin, const rtl::OUString& sLabel, bool bHeader, Point aOffset );
+ SwHeaderFooterWin( SwEditWin* pEditWin, SwPageDesc* pPageDesc, bool bHeader, Point aOffset );
virtual void Paint( const Rectangle& rRect );
};