00001 #ifndef KDREPORTSTABLEELEMENT_H
00002 #define KDREPORTSTABLEELEMENT_H
00003
00004 #include "KDReportsAbstractTableElement.h"
00005
00006 namespace KDReports {
00007 class Cell;
00008
00015 class KDREPORTS_EXPORT TableElement : public AbstractTableElement
00016 {
00017 public:
00024 TableElement();
00025
00029 ~TableElement();
00030
00035 TableElement(const TableElement &other);
00039 TableElement &operator=(const TableElement &other);
00040
00046 void setHeaderRowCount( int count );
00047
00055 void setHeaderColumnCount( int count );
00056
00062 Cell& cell( int row, int column );
00063
00068 void build( ReportBuilder& ) const;
00073 Element* clone() const;
00074
00075 private:
00076 class Private;
00077 Private* const d;
00078 };
00079
00080 }
00081
00082
00083 #endif
00084