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

📄 rtfreader.h

📁 把html转成txt 把html转成txt
💻 H
字号:
#ifndef __RTFREADER_H__#define __RTFREADER_H__#include "ReaderInterface.h"#include "RtfStyle.h"#include "RtfCommand.h"#include "DebugLog.h"namespace DoxEngine{  class WriterInterface;  class UnicodeCharacter;  class RtfStyle;  class RtfStyleStack;  class RtfReader : public ReadInterface  {    private:      long fileLength;      std::istream* stream;      DebugLog &log;      WriterInterface* writer;			RtfCommands elements;			RtfStyleStack rtfStack;			RtfStyle style;      bool tableStarted, rowStarted, cellStarted;      void readCommand(char inputCharacter);      void handleCommand(std::string& inputString);    public:      void flushTable(void);      RtfReader(std::istream& newStream, WriterInterface& newWriter, DebugLog &newLog);      ~RtfReader();      virtual bool processData(void);      virtual int getPercentComplete(void);      void commandParagraphBreak(void);      void commandLineBreak(void);      void commandIgnoreDestinationKeyword(void);      void commandColourTable(void);      void commandCharacter(UnicodeCharacter& character);      void commandParagraphDefault(void);      void commandInTable(void);      void commandEndCell(void);      void commandEndRow(void);      Style getStyle(void) const;			void setStyle( const Style &style );			RtfStyle getRtfStyle(void) const;			void setRtfStyle( const RtfStyle &style );  };}#endif

⌨️ 快捷键说明

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