Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

HTMLExporter.h

#ifndef HTMLEXPORTER_INCLUDED
#define HTMLEXPORTER_INCLUDED

#include "BaseExporter.h"
#include <string>

using std::string;

00009 class HTMLExporter : public BaseExporter
{
  public:
    void Export(const wxString &filename, const wxString &title, const wxMemoryBuffer &styled_text, const EditorColourSet *color_set, int lineCount);

  private:
    static const char *HTMLHeaderBEG;
    static const char *HTMLMeta;
    static const char *HTMLStyleBEG;
    static string HTMLStyle(const EditorColourSet *color_set, HighlightLanguage lang);
    static const char *HTMLStyleEND;
    static const char *HTMLHeaderEND;
    static const char *HTMLBodyBEG;
    static string HTMLBody(const wxMemoryBuffer &styled_text, int lineCount);
    static const char *HTMLBodyEND;
};

#endif // HTMLEXPORTER_INCLUDED

Generated by  Doxygen 1.6.0   Back to index