Diffstat (limited to 'noncore/apps/opie-reader/StyleConsts.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/StyleConsts.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/StyleConsts.h b/noncore/apps/opie-reader/StyleConsts.h index 8e23c6f..4b7ff4b 100644 --- a/noncore/apps/opie-reader/StyleConsts.h +++ b/noncore/apps/opie-reader/StyleConsts.h @@ -40,3 +40,4 @@ enum EalignmentType m_AlignCentre, - m_AlignJustify + m_AlignJustify, + m_AlignNone }; @@ -48,2 +49,3 @@ class CBasicStyle m_italic; + unsigned long m_table; int m_fontsize; @@ -66,2 +68,3 @@ class CBasicStyle unset(); + m_table = 0xffffffff; } @@ -148,2 +151,5 @@ class CStyle void unset(); + bool isTable() const { return (sty.m_table != 0xffffffff); } + void setTable(unsigned long _b) { sty.m_table = _b; } + unsigned long getTable() { return sty.m_table; } bool isPicture() const { return (graphic != NULL); } @@ -189,2 +195,6 @@ class CStyle } + void setNoJustify() + { + sty.m_align = m_AlignNone; + } StyleType getJustify() |