mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 06:22:44 +08:00
23 lines
348 B
C++
23 lines
348 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
class RtfToken
|
|
{
|
|
public:
|
|
typedef enum {None ,Keyword,Control ,Text ,Eof,GroupStart ,GroupEnd} RtfTokenType;
|
|
|
|
RtfTokenType Type;
|
|
std::string Key;
|
|
bool HasParameter;
|
|
int Parameter;
|
|
|
|
RtfToken()
|
|
{
|
|
Type = None;
|
|
Key = "";
|
|
HasParameter = false;
|
|
Parameter = 0;
|
|
}
|
|
};
|