writerinterface.h

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

H
45
字号
//---------------------------------------------------------------------------#ifndef WriterInterfaceH#define WriterInterfaceHnamespace DoxEngine{  class UnicodeCharacter;  class Style;  typedef enum  {    LineBreak,    ParagraphBreak,    PageBreak  } BreakType;  typedef enum  {    TableStart,    TableCellStart,    TableCellEnd,    TableRowStart,    TableRowEnd,    TableEnd  } TableType;  class WriterInterface  {  public:    //virtual void setOutStream(ostream& stream) = 0;    virtual void writeChar(const UnicodeCharacter& character) = 0;    virtual void writeBreak(BreakType type) = 0;    virtual void writeTable(TableType table) = 0;    virtual void setStyle( const Style &newStyle ) = 0;    virtual ~WriterInterface();    //virtual void writePicture() = 0;  };}//---------------------------------------------------------------------------#endif

⌨️ 快捷键说明

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