#ifndef _WX_HTMPRINT_H_
#define _WX_HTMPRINT_H_
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "htmprint.h"
#endif
#include "wx/html/htmlcell.h"
#include "wx/html/winpars.h"
+#include "wx/html/htmlfilt.h"
#include "wx/print.h"
#include "wx/printdlg.h"
bool HasPage(int page);
void GetPageInfo(int *minPage, int *maxPage, int *selPageFrom, int *selPageTo);
bool OnBeginDocument(int startPage, int endPage);
+ void OnPreparePrinting();
+
+ // Adds input filter
+ static void AddFilter(wxHtmlFilter *filter);
+
+ // Cleanup
+ static void CleanUpStatics();
private:
wxHtmlDCRenderer *m_Renderer, *m_RendererHdr;
float m_MarginTop, m_MarginBottom, m_MarginLeft, m_MarginRight, m_MarginSpace;
+ // list of HTML filters
+ static wxList m_Filters;
+
DECLARE_NO_COPY_CLASS(wxHtmlPrintout)
};