libglom-1.18 1.18.3
|
A base class for all layout items that may have formatting options. More...
Public Member Functions | |
LayoutItem_WithFormatting () | |
LayoutItem_WithFormatting (const LayoutItem_WithFormatting& src) | |
LayoutItem_WithFormatting& | operator= (const LayoutItem_WithFormatting& src) |
virtual | ~LayoutItem_WithFormatting () |
bool | operator== (const LayoutItem_WithFormatting& src) const |
virtual const FieldFormatting& | get_formatting_used () const |
Get the field formatting used by this layout item, which may be either custom field formatting or the default field formatting. | |
virtual FieldFormatting::HorizontalAlignment | get_formatting_used_horizontal_alignment () const |
Get the alignment for the formatting used (see get_formatting_used()), choosing an appropriate alignment if it is set to HORIZONTAL_ALIGNMENT_AUTO. | |
Public Attributes | |
FieldFormatting | m_formatting |
A base class for all layout items that may have formatting options.
Glom::LayoutItem_WithFormatting::LayoutItem_WithFormatting | ( | ) |
Glom::LayoutItem_WithFormatting::LayoutItem_WithFormatting | ( | const LayoutItem_WithFormatting& | src | ) |
virtual Glom::LayoutItem_WithFormatting::~LayoutItem_WithFormatting | ( | ) | [virtual] |
virtual const FieldFormatting& Glom::LayoutItem_WithFormatting::get_formatting_used | ( | ) | const [virtual] |
Get the field formatting used by this layout item, which may be either custom field formatting or the default field formatting.
Reimplemented in Glom::LayoutItem_Field.
virtual FieldFormatting::HorizontalAlignment Glom::LayoutItem_WithFormatting::get_formatting_used_horizontal_alignment | ( | ) | const [virtual] |
Get the alignment for the formatting used (see get_formatting_used()), choosing an appropriate alignment if it is set to HORIZONTAL_ALIGNMENT_AUTO.
Note that this never returns HORIZONTAL_ALIGNMENT_AUTO.
Reimplemented in Glom::LayoutItem_Field.
LayoutItem_WithFormatting& Glom::LayoutItem_WithFormatting::operator= | ( | const LayoutItem_WithFormatting& | src | ) |
bool Glom::LayoutItem_WithFormatting::operator== | ( | const LayoutItem_WithFormatting& | src | ) | const |