📄 rtfstyle.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -