00001 #ifndef __DW_TABLECELL_HH__ 00002 #define __DW_TABLECELL_HH__ 00003 00004 #include "core.hh" 00005 #include "alignedtextblock.hh" 00006 00007 namespace dw { 00008 00009 class TableCell: public AlignedTextblock 00010 { 00011 private: 00012 int charWordIndex, charWordPos; 00013 00014 protected: 00015 void wordWrap(int wordIndex); 00016 00017 int getValue (); 00018 void setMaxValue (int maxValue, int value); 00019 00020 public: 00021 static int CLASS_ID; 00022 00023 TableCell(TableCell *ref, bool limitTextWidth); 00024 ~TableCell(); 00025 }; 00026 00027 } // namespace dw 00028 00029 #endif // __DW_TABLECELL_HH__
1.5.9