libglom-1.22
1.22.0
|
Public Member Functions | |
LayoutItem_Text () | |
LayoutItem_Text (const LayoutItem_Text& src) | |
LayoutItem_Text& | operator= (const LayoutItem_Text& src) |
virtual | ~LayoutItem_Text () |
virtual LayoutItem* | clone () const |
Create a new copied instance. | |
bool | operator== (const LayoutItem_Text& src) const |
virtual Glib::ustring | get_part_type_name () const |
virtual Glib::ustring | get_report_part_id () const |
Gets the node name to use for the intermediate XML, (and usually, the CSS style class to use for the resulting HTML). | |
Glib::ustring | get_text (const Glib::ustring& locale) const |
Get the text that will be shown on each record. | |
void | set_text (const Glib::ustring& text, const Glib::ustring& locale) |
Set the text that will be shown on each record. | |
void | set_text_original (const Glib::ustring& text) |
Set the text's original (non-translated, usually English) text. | |
Public Attributes | |
sharedptr< TranslatableItem > | m_text |
Glom::LayoutItem_Text::LayoutItem_Text | ( | const LayoutItem_Text& | src | ) |
virtual Glom::LayoutItem_Text::~LayoutItem_Text | ( | ) | [virtual] |
virtual LayoutItem* Glom::LayoutItem_Text::clone | ( | ) | const [virtual] |
Create a new copied instance.
This allows us to deep-copy a list of LayoutItems.
Implements Glom::LayoutItem.
virtual Glib::ustring Glom::LayoutItem_Text::get_part_type_name | ( | ) | const [virtual] |
Implements Glom::LayoutItem.
virtual Glib::ustring Glom::LayoutItem_Text::get_report_part_id | ( | ) | const [virtual] |
Gets the node name to use for the intermediate XML, (and usually, the CSS style class to use for the resulting HTML).
Reimplemented from Glom::LayoutItem.
Glib::ustring Glom::LayoutItem_Text::get_text | ( | const Glib::ustring & | locale | ) | const |
Get the text that will be shown on each record.
LayoutItem_Text& Glom::LayoutItem_Text::operator= | ( | const LayoutItem_Text& | src | ) |
bool Glom::LayoutItem_Text::operator== | ( | const LayoutItem_Text& | src | ) | const |
void Glom::LayoutItem_Text::set_text | ( | const Glib::ustring & | text, |
const Glib::ustring & | locale | ||
) |
Set the text that will be shown on each record.
void Glom::LayoutItem_Text::set_text_original | ( | const Glib::ustring & | text | ) |
Set the text's original (non-translated, usually English) text.
This is the same as calling set_text() with an empty locale parameter.