diff options
author | Stef Walter <stef@memberwebs.com> | 2005-06-08 00:33:16 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2005-06-08 00:33:16 +0000 |
commit | 1d1ffe40fdd0bea28d10230a09d5478d95a68128 (patch) | |
tree | f9bbed6cb9dda3844962cd08e4fe58e313fc15c1 /src/rtfformatting.h | |
parent | 519fae2932fd293b6a3368749a87c3c34698a277 (diff) |
Add 'indent' attriute to <para> tags for paragraph indent.
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__ |