libglom-1.22  1.21.7
Public Types | Public Member Functions
Glom::LayoutItem_GroupBy Class Reference

The child items are fields to be shown for each record in the group. More...

Inheritance diagram for Glom::LayoutItem_GroupBy:
Inheritance graph
[legend]
Collaboration diagram for Glom::LayoutItem_GroupBy:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
FieldFormatting::type_pair_sort_field 
type_pair_sort_field
typedef
FieldFormatting::type_list_sort_fields 
type_list_sort_fields

Public Member Functions

 LayoutItem_GroupBy ()
 LayoutItem_GroupBy (const LayoutItem_GroupBy& src)
LayoutItem_GroupByoperator= (const LayoutItem_GroupBy& src)
virtual ~LayoutItem_GroupBy ()
virtual LayoutItemclone () const
 Create a new copied instance.
sharedptr< LayoutItem_Fieldget_field_group_by ()
sharedptr< const LayoutItem_Fieldget_field_group_by () const
bool get_has_field_group_by () const
void set_field_group_by (const sharedptr< LayoutItem_Field >& field)
type_list_sort_fields get_fields_sort_by ()
type_list_sort_fields get_fields_sort_by () const
bool get_has_fields_sort_by () const
void set_fields_sort_by (const type_list_sort_fields& field)
virtual Glib::ustring get_layout_display_name () const
 Get a text representation for the a layout.
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).
sharedptr< LayoutGroupget_secondary_fields ()
sharedptr< const LayoutGroupget_secondary_fields () const
type_list_sort_fields get_sort_by () const
void set_sort_by (const type_list_sort_fields& sort_by)

Detailed Description

The child items are fields to be shown for each record in the group.

The records are grouped by a specified field and there may be. secondary fields that are also shown for each group.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

virtual LayoutItem* Glom::LayoutItem_GroupBy::clone ( ) const [virtual]

Create a new copied instance.

This allows us to deep-copy a list of LayoutItems.

Reimplemented from Glom::LayoutGroup.

virtual Glib::ustring Glom::LayoutItem_GroupBy::get_layout_display_name ( ) const [virtual]

Get a text representation for the a layout.

Reimplemented from Glom::LayoutItem.

virtual Glib::ustring Glom::LayoutItem_GroupBy::get_part_type_name ( ) const [virtual]

Reimplemented from Glom::LayoutGroup.

virtual Glib::ustring Glom::LayoutItem_GroupBy::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::LayoutGroup.

LayoutItem_GroupBy& Glom::LayoutItem_GroupBy::operator= ( const LayoutItem_GroupBy src)

The documentation for this class was generated from the following file: