diff options
author | Sebastian Geerken <devnull@localhost> | 2014-05-28 00:58:21 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-05-28 00:58:21 +0200 |
commit | 4c47a19af4349ba45833ff37406f78bba1fde5ef (patch) | |
tree | cb22f4a523f4ff883c525378fb68c50e31c3d536 /dw/tablecell.hh | |
parent | c0135425bdb0bdaeed57c99638e8bbeb94a5c17d (diff) |
Split up dw::TableCell in dw::AlignedTableCell (was: dw::TableCell) and dw::SimpleTableCell (derived from dw::Textblock). The HTML parser now uses only one of these two classes for table cells, not dw::Textblock anymore.
Diffstat (limited to 'dw/tablecell.hh')
-rw-r--r-- | dw/tablecell.hh | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/dw/tablecell.hh b/dw/tablecell.hh deleted file mode 100644 index 1e13abf9..00000000 --- a/dw/tablecell.hh +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef __DW_TABLECELL_HH__ -#define __DW_TABLECELL_HH__ - -#include "core.hh" -#include "alignedtextblock.hh" - -namespace dw { - -class TableCell: public AlignedTextblock -{ -private: - int charWordIndex, charWordPos; - -protected: - int wordWrap (int wordIndex, bool wrapAll); - - int getValue (); - void setMaxValue (int maxValue, int value); - -public: - static int CLASS_ID; - - TableCell(TableCell *ref, bool limitTextWidth); - ~TableCell(); -}; - -} // namespace dw - -#endif // __DW_TABLECELL_HH__ |