⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 htmlreader.h

📁 把html转成txt 把html转成txt
💻 H
字号:
#ifndef HtmlReaderH#define HtmlReaderH#include <istream>#include "HtmlCharacterMap.h"#include "HtmlTag.h"#include "DebugLog.h"#include "Style.h"#include "ReaderInterface.h"#include "HtmlCommand.h"namespace DoxEngine{  class WriterInterface;  class HtmlReader : public ReadInterface  {    private:	  std::istream *stream;	  WriterInterface &writer;    HtmlCommands commands;    DebugLog &log;    Style style;    bool startOfFile;          HtmlCharacterMaps maps;      bool lineEmpty;      bool script, iframe;      void readCommand(void);      void readCharacter(void);    static const char BYTE_ORDER_MARK_UTF8_BYTE1 = 0xEF;    static const char BYTE_ORDER_MARK_UTF8_BYTE2 = 0xBB;    static const char BYTE_ORDER_MARK_UTF8_BYTE3 = 0xBF;    public:      HtmlReader(std::istream& newStream, WriterInterface& newWriter, DebugLog &newLog);      virtual bool processData(void);      virtual int getPercentComplete(void);      virtual ~HtmlReader();      Style GetStyle();      void SetStyle( const Style &value );      void SetScript( bool value );      void SetIframe( bool value );      WriterInterface& GetWriterReference();  };}//---------------------------------------------------------------------------#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -