tdox.h

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

H
40
字号
//---------------------------------------------------------------------------
#ifndef tdoxH
#define tdoxH


class TDox
{
public:
    TDox();
    ~TDox();

    void SetInFileName(const std::string &Filename);
    void SetOutFileName(const std::string &Filename);
    bool FileConvert();



    void SetInString(const std::string &in);
    std::string StringConvert(void);

    void SetInFormat(const std::string &Extension);
    void SetOutFormat(const std::string &Extension);

    int DebugOn;

private:
    std::string inBuffer;
    std::string outBuffer;

    int inFormat;  /* Automatic or RTF to HTML */
    int outFormat; /* Automatic or RTF to HTML */

    int Ext2For(const char *Extension);

    bool UseInString;
};

//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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