diff options
Diffstat (limited to 'sw/source/ui/inc/HeaderFooterWin.hxx')
-rw-r--r-- | sw/source/ui/inc/HeaderFooterWin.hxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sw/source/ui/inc/HeaderFooterWin.hxx b/sw/source/ui/inc/HeaderFooterWin.hxx index 42b80a1c28ed..cd2991adc810 100644 --- a/sw/source/ui/inc/HeaderFooterWin.hxx +++ b/sw/source/ui/inc/HeaderFooterWin.hxx @@ -30,6 +30,7 @@ #include <pagedesc.hxx> +#include <vcl/menubtn.hxx> #include <vcl/window.hxx> class SwHeaderFooterButton; @@ -48,13 +49,19 @@ class SwHeaderFooterWin : public Window SwHeaderFooterButton* m_pButton; public: - SwHeaderFooterWin( SwEditWin* pEditWin, const SwPageFrm* pPageFrm, bool bHeader, Point aOffset ); + SwHeaderFooterWin( SwEditWin* pEditWin, const SwPageFrm* pPageFrm, bool bHeader ); ~SwHeaderFooterWin( ); + void SetOffset( Point aOffset ); + virtual void Paint( const Rectangle& rRect ); bool IsHeader() { return m_bIsHeader; }; bool IsEmptyHeaderFooter( ); + const SwPageFrm* GetPageFrame( ) { return m_pPageFrm; }; + +private: + MenuButton* GetMenuButton(); }; #endif |