summaryrefslogtreecommitdiff
path: root/src/rtfformatting.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtfformatting.h')
-rw-r--r--src/rtfformatting.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/rtfformatting.h b/src/rtfformatting.h
index b718245..f2d0581 100644
--- a/src/rtfformatting.h
+++ b/src/rtfformatting.h
@@ -68,7 +68,9 @@ public:
m_hidden == format.m_hidden &&
m_underline == format.m_underline &&
m_color == format.m_color &&
- m_suscript == format.m_suscript;
+ m_suscript == format.m_suscript &&
+ m_font == format.m_font &&
+ m_fsize == format.m_fsize;
}
bool paraEquals(RtfFormatting& format) const
@@ -87,6 +89,8 @@ public:
m_underline = format.m_underline;
m_color = format.m_color;
m_suscript = format.m_suscript;
+ m_font = format.m_font;
+ m_fsize = format.m_fsize;
m_style = format.m_style;
m_list = format.m_list;
@@ -99,6 +103,8 @@ public:
m_underline = m_hidden = false;
m_color = -1;
m_suscript = 0;
+ m_fsize = -1;
+ m_font = -1;
}
void resetPara()
@@ -121,6 +127,10 @@ public:
{ return m_color; }
int textSuScript() const
{ return m_suscript; }
+ int textFont() const
+ { return m_font; }
+ int textFontSize() const
+ { return m_fsize; }
int paraStyle() const
{ return m_style; }
int paraList() const
@@ -142,6 +152,10 @@ public:
{ m_color = color; }
void textSetSuScript(int suscript)
{ m_suscript = suscript; }
+ void textSetFont(int font)
+ { m_font = font; }
+ void textSetFontSize(int fsize)
+ { m_fsize = fsize; }
void paraSetStyle(int style)
{ m_style = style; }
void paraSetList(int list)
@@ -163,6 +177,8 @@ protected:
bool m_hidden;
int m_suscript;
int m_color;
+ int m_font;
+ int m_fsize;
int m_style;
int m_list;