diff options
Diffstat (limited to 'src/rtfformatting.h')
-rw-r--r-- | src/rtfformatting.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/rtfformatting.h b/src/rtfformatting.h index cab1e4f..78f4cc2 100644 --- a/src/rtfformatting.h +++ b/src/rtfformatting.h @@ -80,7 +80,8 @@ public: return m_style == format.m_style && m_list == format.m_list && m_inTbl == format.m_inTbl && - m_align == format.m_align; + m_align == format.m_align && + m_indent == format.m_indent; } void copy(const RtfFormatting& format) @@ -101,6 +102,7 @@ public: m_list = format.m_list; m_inTbl = format.m_inTbl; m_align = format.m_align; + m_indent = format.m_indent; } void resetText() @@ -120,6 +122,7 @@ public: m_style = m_list = -1; m_inTbl = false; m_align = LEFT; + m_indent = 0; } bool textIsBold() const @@ -152,6 +155,8 @@ public: { return m_inTbl; } int paraAlign() const { return m_align; } + int paraIndent() const + { return m_indent; } void textSetBold(bool bold) { m_bold = bold; } @@ -183,6 +188,8 @@ public: { m_inTbl = inTable; } void paraSetAlign(int align) { m_align = align; } + void paraSetIndent(int indent) + { m_indent = indent; } enum { @@ -215,6 +222,7 @@ protected: int m_list; bool m_inTbl; int m_align; + int m_indent; }; #endif // __RTFFORMATTING_H__ |