libglom-1.22
1.23.2
|
Public Member Functions | |
LayoutItem () | |
LayoutItem (const LayoutItem& src) | |
LayoutItem& | operator= (const LayoutItem& src) |
virtual | ~LayoutItem () |
virtual LayoutItem* | clone () const =0 |
Create a new copied instance. | |
bool | operator== (const LayoutItem& src) const |
virtual bool | get_editable () const |
virtual void | set_editable (bool val=true) |
virtual Glib::ustring | get_layout_display_name () const |
virtual Glib::ustring | get_part_type_name () const =0 |
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). | |
guint | get_display_width () const |
void | set_display_width (guint value) |
void | get_print_layout_position (double& x, double& y, double& width, double& height) const |
This is used only for the print layouts. | |
void | set_print_layout_position (double x, double y, double width, double height) |
This is used only for the print layouts. | |
void | set_print_layout_position_y (double y) |
This is used only for the print layouts. | |
void | set_print_layout_split_across_pages (bool split=true) |
This is used only for the print layouts. | |
bool | get_print_layout_split_across_pages () const |
This is used only for the print layouts. | |
![]() | |
TranslatableItem () | |
TranslatableItem (const TranslatableItem& src) | |
virtual | ~TranslatableItem () |
TranslatableItem& | operator= (const TranslatableItem& src) |
bool | operator== (const TranslatableItem& src) const |
bool | operator!= (const TranslatableItem& src) const |
virtual void | set_name (const Glib::ustring& name) |
Set the non-translated identifier name. | |
virtual Glib::ustring | get_name () const |
Get the non-translated identifier name. | |
bool | get_name_not_empty () const |
virtual Glib::ustring | get_title_or_name (const Glib::ustring& locale) const |
virtual Glib::ustring | get_title (const Glib::ustring& locale) const |
Get the title's translation for the specified locale, falling back to the original text if there is no translation. | |
virtual Glib::ustring | get_title_original () const |
Get the title's original (non-translated, usually English) text. | |
Glib::ustring | get_title_translation (const Glib::ustring& locale, bool fallback=true) const |
Get the title's translation for the specified locale, optionally falling back to a locale of the same language, and then falling back to the original. | |
void | set_title (const Glib::ustring& title, const Glib::ustring& locale) |
Set the title's translation for the specified locale. | |
void | set_title_original (const Glib::ustring& title) |
Set the title's original (non-translated, usually English) text. | |
void | clear_title_in_all_locales () |
Clear the original title and any translations of the title. | |
bool | get_has_translations () const |
enumTranslatableItemType | get_translatable_item_type () const |
Glom::LayoutItem::LayoutItem | ( | ) |
Glom::LayoutItem::LayoutItem | ( | const LayoutItem& | src | ) |
|
virtual |
|
pure virtual |
Create a new copied instance.
This allows us to deep-copy a list of LayoutItems.
Implemented in Glom::LayoutItem_Field, Glom::LayoutItem_Portal, Glom::LayoutItem_GroupBy, Glom::LayoutItem_Image, Glom::LayoutItem_Text, Glom::LayoutItem_Placeholder, Glom::LayoutItem_Notebook, Glom::LayoutItem_Footer, Glom::LayoutItem_Header, Glom::LayoutItem_VerticalGroup, Glom::LayoutGroup, Glom::LayoutItem_Line, Glom::LayoutItem_Summary, Glom::LayoutItem_Button, Glom::LayoutItem_CalendarPortal, and Glom::LayoutItem_FieldSummary.
guint Glom::LayoutItem::get_display_width | ( | ) | const |
|
virtual |
|
virtual |
Reimplemented in Glom::LayoutItem_Field, Glom::LayoutItem_FieldSummary, and Glom::LayoutItem_GroupBy.
|
pure virtual |
Implemented in Glom::LayoutGroup, Glom::LayoutItem_Field, Glom::LayoutItem_GroupBy, Glom::LayoutItem_Portal, Glom::LayoutItem_Image, Glom::LayoutItem_Text, Glom::LayoutItem_Placeholder, Glom::LayoutItem_Notebook, Glom::LayoutItem_Line, Glom::LayoutItem_Footer, Glom::LayoutItem_Header, Glom::LayoutItem_VerticalGroup, Glom::LayoutItem_Button, Glom::LayoutItem_FieldSummary, Glom::LayoutItem_Summary, and Glom::LayoutItem_CalendarPortal.
void Glom::LayoutItem::get_print_layout_position | ( | double & | x, |
double & | y, | ||
double & | width, | ||
double & | height | ||
) | const |
This is used only for the print layouts.
bool Glom::LayoutItem::get_print_layout_split_across_pages | ( | ) | const |
This is used only for the print layouts.
|
virtual |
Gets the node name to use for the intermediate XML, (and usually, the CSS style class to use for the resulting HTML).
Reimplemented in Glom::LayoutGroup, Glom::LayoutItem_Field, Glom::LayoutItem_GroupBy, Glom::LayoutItem_Image, Glom::LayoutItem_Text, Glom::LayoutItem_Placeholder, Glom::LayoutItem_Line, Glom::LayoutItem_Footer, Glom::LayoutItem_Header, Glom::LayoutItem_VerticalGroup, Glom::LayoutItem_FieldSummary, and Glom::LayoutItem_Summary.
LayoutItem& Glom::LayoutItem::operator= | ( | const LayoutItem& | src | ) |
bool Glom::LayoutItem::operator== | ( | const LayoutItem& | src | ) | const |
void Glom::LayoutItem::set_display_width | ( | guint | value | ) |
|
virtual |
void Glom::LayoutItem::set_print_layout_position | ( | double | x, |
double | y, | ||
double | width, | ||
double | height | ||
) |
This is used only for the print layouts.
void Glom::LayoutItem::set_print_layout_position_y | ( | double | y | ) |
This is used only for the print layouts.
void Glom::LayoutItem::set_print_layout_split_across_pages | ( | bool | split = true | ) |
This is used only for the print layouts.