summaryrefslogtreecommitdiff
path: root/src/rtfformatting.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtfformatting.h')
-rw-r--r--src/rtfformatting.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rtfformatting.h b/src/rtfformatting.h
index 3085198..db687eb 100644
--- a/src/rtfformatting.h
+++ b/src/rtfformatting.h
@@ -68,6 +68,7 @@ public:
m_hidden == format.m_hidden &&
m_underline == format.m_underline &&
m_color == format.m_color &&
+ m_highlight == format.m_highlight &&
m_suscript == format.m_suscript &&
m_font == format.m_font &&
m_fsize == format.m_fsize &&
@@ -89,6 +90,7 @@ public:
m_hidden = format.m_hidden;
m_underline = format.m_underline;
m_color = format.m_color;
+ m_highlight = format.m_highlight;
m_suscript = format.m_suscript;
m_font = format.m_font;
m_fsize = format.m_fsize;
@@ -104,6 +106,7 @@ public:
m_bold = m_italic = m_strike =
m_underline = m_hidden = false;
m_color = -1;
+ m_highlight = -1;
m_suscript = 0;
m_fsize = -1;
m_font = -1;
@@ -128,6 +131,8 @@ public:
{ return m_hidden; }
int textColor() const
{ return m_color; }
+ int textHighlight() const
+ { return m_highlight; }
int textSuScript() const
{ return m_suscript; }
int textFont() const
@@ -155,6 +160,8 @@ public:
{ m_hidden = hidden; }
void textSetColor(int color)
{ m_color = color; }
+ void textSetHighlight(int color)
+ { m_highlight = color; }
void textSetSuScript(int suscript)
{ m_suscript = suscript; }
void textSetFont(int font)
@@ -184,6 +191,7 @@ protected:
bool m_hidden;
int m_suscript;
int m_color;
+ int m_highlight;
int m_font;
int m_fsize;
int m_charstyle;