view dw/tablecell.hh @ 1733:f39cfc38ea10

rework nonCssHints API of StyleEngine * Instead of passing the nonCssHints as a CssPropertyList, set the hints separately and create the list in StyleEngine. * The CssPropertyList holding the nonCssHints is now completely managed by StyleEngine and kept on the stack. * Replace the table_cell_props mechanic in with a new method inheritNonCssHints() in StyleEngine.
author Johannes Hofmann <>
date Mon, 11 Oct 2010 21:35:53 +0200
parents e5955ab8dafb
line wrap: on
line source
#ifndef __DW_TABLECELL_HH__
#define __DW_TABLECELL_HH__

#include "core.hh"
#include "alignedtextblock.hh"

namespace dw {

class TableCell: public AlignedTextblock
   int charWordIndex, charWordPos;

   void wordWrap(int wordIndex);

   int getValue ();
   void setMaxValue (int maxValue, int value);

   static int CLASS_ID;

   TableCell(TableCell *ref, bool limitTextWidth);

} // namespace dw

#endif // __DW_TABLECELL_HH__