18 #ifndef TITLEBLOCK_CELL_H 19 #define TITLEBLOCK_CELL_H NamesList value
Text displayed by the cell.
int applied_row_span
Actually applied row span.
virtual ~TitleBlockCell()
void setAttribute(const QString &, const QVariant &)
int num_col
x coordinate of the cell within its parent title block template grid
int alignment
Where the label+text should be displayed within the visual cell.
void loadContentFromCell(const TitleBlockCell &)
int row_span
number of extra rows spanned by this cell
bool display_label
Whether to display the label or not.
the cell span parameters should be applied without restriction
int font_size
Font size the text should be rendered with.
the cell span parameters should be applied with some restrictions
TemplateCellType cell_type
Cell type: empty, text, logo?
int verticalAlign() const
NamesList label
Label displayed by the cell.
bool hadjust
Whether to reduce the font size if the text does not fit in the cell.
static QString attributeName(const QString &)
the cell span parameters should not applied at all
QVariant attribute(const QString &)
TitleBlockCell * spanner_cell
Cell spanning this cell, if any.
QString logo_reference
Logo displayed by this cell, it it is a logo cell.
int horizontalAlign() const
void loadContentFromXml(const QDomElement &)
int span_state
how should row_span and col_span be applied given other cells in the parent template ...
TemplateCellType type() const
void saveContentToXml(QDomElement &)
int col_span
number of extra columns spanned by this cell
QString value_name
name of the cell; not displayed when the title block template is rendered
int num_row
y coordinate of the cell within its parent title block template grid
int applied_col_span
Actually applied column span.