fileformat/Reporter/HtmlReporter.h
Go to the documentation of this file.
00001 #ifndef HTMLREPORTER_H
00002 #define HTMLREPORTER_H
00003 
00004 #include "Reporter.h"
00005 
00006 class HtmlReporter : public Reporter {
00007         Q_DECLARE_TR_FUNCTIONS(HtmlReporter)
00008 protected:
00009         int linkNumber;
00010         int toggleNumber;
00011         QByteArray linkCollected;
00012         mutable QTextStream linkCollector;
00013         QString toggleAbleBlocks(const QString& title, bool showByDefault);
00014         virtual void subBlock(const Block& value, const QString& tag);
00015         virtual void arrayStart(int count, const QString& title, bool defaultShown);
00016         virtual void arrayEnd(int count);
00017 public:
00018         HtmlReporter();
00019         virtual void tagValuePair(const QString& tag, const QString& value);
00020         QByteArray toQByteArray() const;
00021         virtual bool allowSvg() const;
00022 };
00023 
00024 
00025 #endif