rtfstyle.h
来自「把html转成txt 把html转成txt」· C头文件 代码 · 共 57 行
H
57 行
#ifndef __RTFSTYLE_H__#define __RTFSTYLE_H__#include <stack>#include <vector>#include "Colour.h"#include "Style.h"#include "DebugLog.h"namespace DoxEngine{ class RtfStyle { private: bool inTable; std::vector<Colour> colour; Colour currentColour; Style style; int sectionColumns; DebugLog log; public: RtfStyle(); RtfStyle(DebugLog &log); virtual ~RtfStyle(); void setPlain( void ); void setInTable( bool insideTable); bool getInTable(); void setSectionPlain( void ); void setSectionColumns( int columns ); int getSectionColumns( void ); void setRed( int value ); void setGreen( int value ); void setBlue( int value ); void colourTerminate( void ); void setForegroundColour( int index ); Style getStyle() const; void setStyle(const Style &style); }; class RtfStyleStack : public std::stack<RtfStyle> { };}#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?