18#ifndef TITLEBLOCK_CELL_H
19#define TITLEBLOCK_CELL_H
Definition nameslist.h:31
Definition titleblockcell.h:26
void saveContentToXml(QDomElement &)
TitleBlockCell::saveContentToXml.
Definition titleblockcell.cpp:229
bool hadjust
Whether to reduce the font size if the text does not fit in the cell.
Definition titleblockcell.h:75
TitleBlockCell * spanner_cell
Cell spanning this cell, if any.
Definition titleblockcell.h:68
int num_row
y coordinate of the cell within its parent title block template grid
Definition titleblockcell.h:61
TemplateCellType
Definition titleblockcell.h:28
@ LogoCell
Definition titleblockcell.h:31
@ TextCell
Definition titleblockcell.h:30
@ EmptyCell
Definition titleblockcell.h:29
static QString attributeName(const QString &)
Definition titleblockcell.cpp:113
int verticalAlign() const
Definition titleblockcell.cpp:47
int horizontalAlign() const
Definition titleblockcell.cpp:39
bool spans() const
Definition titleblockcell.cpp:139
QString value_name
name of the cell; not displayed when the title block template is rendered
Definition titleblockcell.h:69
int row_span
number of extra rows spanned by this cell
Definition titleblockcell.h:63
int num_col
x coordinate of the cell within its parent title block template grid
Definition titleblockcell.h:62
QString logo_reference
Logo displayed by this cell, it it is a logo cell.
Definition titleblockcell.h:76
TemplateCellType type() const
Definition titleblockcell.cpp:31
TemplateCellSpanState
Definition titleblockcell.h:33
@ Disabled
the cell span parameters should not applied at all
Definition titleblockcell.h:34
@ Enabled
the cell span parameters should be applied without restriction
Definition titleblockcell.h:35
@ Restricted
the cell span parameters should be applied with some restrictions
Definition titleblockcell.h:36
NamesList label
Label displayed by the cell.
Definition titleblockcell.h:71
int alignment
Where the label+text should be displayed within the visual cell.
Definition titleblockcell.h:73
int span_state
how should row_span and col_span be applied given other cells in the parent template
Definition titleblockcell.h:65
int font_size
Font size the text should be rendered with.
Definition titleblockcell.h:74
NamesList value
Text displayed by the cell.
Definition titleblockcell.h:70
void loadContentFromCell(const TitleBlockCell &)
Definition titleblockcell.cpp:148
bool display_label
Whether to display the label or not.
Definition titleblockcell.h:72
int applied_row_span
Actually applied row span.
Definition titleblockcell.h:66
virtual ~TitleBlockCell()
Definition titleblockcell.cpp:24
int applied_col_span
Actually applied column span.
Definition titleblockcell.h:67
QVariant attribute(const QString &)
Definition titleblockcell.cpp:86
void loadContentFromXml(const QDomElement &)
Definition titleblockcell.cpp:163
void setAttribute(const QString &, const QVariant &)
Definition titleblockcell.cpp:57
TemplateCellType cell_type
Cell type: empty, text, logo?
Definition titleblockcell.h:60
int col_span
number of extra columns spanned by this cell
Definition titleblockcell.h:64
TitleBlockCell()
Definition titleblockcell.cpp:6