11 #ifndef KDREPORTSCELL_H
12 #define KDREPORTSCELL_H
22 class QTextTableCellFormat;
43 void setColumnSpan(
int columnSpan);
47 int columnSpan()
const;
53 void setRowSpan(
int rowSpan);
62 void addInlineElement(
const Element &element);
68 void addElement(
const Element &element, Qt::AlignmentFlag horizontalAlignment = Qt::AlignLeft);
82 void addVerticalSpacing(qreal space);
88 void setVerticalAlignment(Qt::AlignmentFlag verticalAlignment);
93 Qt::AlignmentFlag verticalAlignment()
const;
95 using CellFormatFunc = std::function<void(
int ,
int , QTextTableCellFormat &)>;
141 friend class QMap<QPair<int, int>,
Cell>;
144 std::unique_ptr<CellPrivate> d;
Element * clone() const override
std::function< void(int, int, QTextTableCellFormat &)> CellFormatFunc