htmlwriter.h

来自「把html转成txt 把html转成txt」· C头文件 代码 · 共 42 行

H
42
字号
#ifndef __HTML_WRITER_H__#define __HTML_WRITER_H__#include "Style.h"#include "DebugLog.h"namespace DoxEngine{  class Style;  class HtmlWriter : public WriterInterface  {	private:	  std::ostream& outputStream;    DebugLog& log;	  Style style, oldStyle;	  bool styleChanged;    int whiteSpaces;	  void outputStyles( void );	  void clearStyles( void );	  void tableStopStyle( void );	  void tableRestartStyle( void );	public:	  HtmlWriter(std::ostream& stream, DebugLog &newLog);	  virtual void writeChar(const UnicodeCharacter& character);	  virtual void writeTable(TableType table);      virtual ~HtmlWriter();      virtual void writeBreak(BreakType type);      virtual void setStyle( const Style &newStyle );  };}#endif

⌨️ 快捷键说明

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