Inherits Glom::UsesRelationship.

| Public Types | |
| enum | HorizontalAlignment { HORIZONTAL_ALIGNMENT_AUTO, HORIZONTAL_ALIGNMENT_LEFT, HORIZONTAL_ALIGNMENT_RIGHT } | 
| typedef std::list < Gnome::Gda::Value > | type_list_values | 
| Public Member Functions | |
| FieldFormatting () | |
| FieldFormatting (const FieldFormatting& src) | |
| FieldFormatting& | operator= (const FieldFormatting& src) | 
| virtual | ~FieldFormatting () | 
| bool | operator== (const FieldFormatting& src) const | 
| bool | get_has_choices () const | 
| bool | get_has_related_choices () const | 
| void | set_has_related_choices (bool val=true) | 
| bool | get_has_custom_choices () const | 
| void | set_has_custom_choices (bool val=true) | 
| virtual type_list_values | get_choices_custom () const | 
| virtual void | set_choices_custom (const type_list_values& choices) | 
| bool | get_choices_restricted (bool& as_radio_buttons) const | 
| Discover whether the entered data should only be one of the available choices. | |
| void | set_choices_restricted (bool val=true, bool as_radio_buttons=false) | 
| See get_choices_restricted(). | |
| void | get_choices (sharedptr< Relationship >& relationship_name, Glib::ustring& field, Glib::ustring& field_second) const | 
| void | set_choices (const sharedptr< Relationship >& relationship_name, const Glib::ustring& field, const Glib::ustring& field_second) | 
| bool | get_text_format_multiline () const | 
| Get whether the text should be displayed with multiple lines in the details view. | |
| void | set_text_format_multiline (bool value=true) | 
| Set whether the text should be displayed with multiple lines in the details view. | |
| guint | get_text_format_multiline_height_lines () const | 
| Get the number of lines of text that should be displayed. | |
| void | set_text_format_multiline_height_lines (guint value) | 
| Get the number of lines of text that should be displayed. | |
| void | set_text_format_font (const Glib::ustring& font_desc) | 
| Set the font description, as returned from Gtk::FontButton::get_font_name(), which may include the size and style. | |
| Glib::ustring | get_text_format_font () const | 
| Get the font description, as returned from Gtk::FontButton::get_font_name(), which may include the size and style. | |
| void | set_text_format_color_foreground (const Glib::ustring& color) | 
| Set the foreground color to use for text when displaying a field value. | |
| Glib::ustring | get_text_format_color_foreground_to_use (const Gnome::Gda::Value& value) const | 
| Get the foreground color to use for text for the specified value, taking the negative-color into account, if specified. | |
| Glib::ustring | get_text_format_color_foreground () const | 
| Get the foreground color to use for text when displaying a field value. | |
| void | set_text_format_color_background (const Glib::ustring& color) | 
| Set the background color to use for text when displaying a field value. | |
| Glib::ustring | get_text_format_color_background () const | 
| Get the background color to use for text when displaying a field value. | |
| void | set_horizontal_alignment (HorizontalAlignment alignment) | 
| HorizontalAlignment | get_horizontal_alignment () const | 
| void | change_field_name (const Glib::ustring& table_name, const Glib::ustring& field_name, const Glib::ustring& field_name_new) | 
| Public Attributes | |
| NumericFormat | m_numeric_format | 
| typedef std::list<Gnome::Gda::Value> Glom::FieldFormatting::type_list_values | 
| Glom::FieldFormatting::FieldFormatting | ( | ) | 
| Glom::FieldFormatting::FieldFormatting | ( | const FieldFormatting& | src | ) | 
| Glom::FieldFormatting::~FieldFormatting | ( | ) |  [virtual] | 
| void Glom::FieldFormatting::change_field_name | ( | const Glib::ustring & | table_name, | |
| const Glib::ustring & | field_name, | |||
| const Glib::ustring & | field_name_new | |||
| ) | 
| void Glom::FieldFormatting::get_choices | ( | sharedptr< Relationship >& | relationship_name, | |
| Glib::ustring & | field, | |||
| Glib::ustring & | field_second | |||
| ) | const | 
| FieldFormatting::type_list_values Glom::FieldFormatting::get_choices_custom | ( | ) | const  [virtual] | 
| bool Glom::FieldFormatting::get_choices_restricted | ( | bool & | as_radio_buttons | ) | const | 
Discover whether the entered data should only be one of the available choices.
| [out] | as_radio_buttons,: | Whether the choices should be displayed as radio buttons instead of a combo box. | 
| bool Glom::FieldFormatting::get_has_choices | ( | ) | const | 
| bool Glom::FieldFormatting::get_has_custom_choices | ( | ) | const | 
| bool Glom::FieldFormatting::get_has_related_choices | ( | ) | const | 
| FieldFormatting::HorizontalAlignment Glom::FieldFormatting::get_horizontal_alignment | ( | ) | const | 
| Glib::ustring Glom::FieldFormatting::get_text_format_color_background | ( | ) | const | 
Get the background color to use for text when displaying a field value.
| Glib::ustring Glom::FieldFormatting::get_text_format_color_foreground | ( | ) | const | 
Get the foreground color to use for text when displaying a field value.
This should be overriden by m_numeric_formatting.m_foreground_color_for_negatives if that is active.
| Glib::ustring Glom::FieldFormatting::get_text_format_color_foreground_to_use | ( | const Gnome::Gda::Value & | value | ) | const | 
Get the foreground color to use for text for the specified value, taking the negative-color into account, if specified.
| Glib::ustring Glom::FieldFormatting::get_text_format_font | ( | ) | const | 
Get the font description, as returned from Gtk::FontButton::get_font_name(), which may include the size and style.
| bool Glom::FieldFormatting::get_text_format_multiline | ( | ) | const | 
Get whether the text should be displayed with multiple lines in the details view.
Text is displayed with a single line in the list view.
| guint Glom::FieldFormatting::get_text_format_multiline_height_lines | ( | ) | const | 
Get the number of lines of text that should be displayed.
| FieldFormatting& Glom::FieldFormatting::operator= | ( | const FieldFormatting& | src | ) | 
| bool Glom::FieldFormatting::operator== | ( | const FieldFormatting& | src | ) | const | 
| void Glom::FieldFormatting::set_choices | ( | const sharedptr< Relationship >& | relationship_name, | |
| const Glib::ustring & | field, | |||
| const Glib::ustring & | field_second | |||
| ) | 
| void Glom::FieldFormatting::set_choices_custom | ( | const type_list_values& | choices | ) |  [virtual] | 
| void Glom::FieldFormatting::set_choices_restricted | ( | bool | val = true, | |
| bool | as_radio_buttons = false | |||
| ) | 
| void Glom::FieldFormatting::set_has_custom_choices | ( | bool | val = true | ) | 
| void Glom::FieldFormatting::set_has_related_choices | ( | bool | val = true | ) | 
| void Glom::FieldFormatting::set_horizontal_alignment | ( | HorizontalAlignment | alignment | ) | 
| void Glom::FieldFormatting::set_text_format_color_background | ( | const Glib::ustring & | color | ) | 
Set the background color to use for text when displaying a field value.
| [in] | color | a text background color, in a format recognised by XParseColor | 
| void Glom::FieldFormatting::set_text_format_color_foreground | ( | const Glib::ustring & | color | ) | 
Set the foreground color to use for text when displaying a field value.
| [in] | color | the text foreground color, in a format recognised by XParseColor | 
| void Glom::FieldFormatting::set_text_format_font | ( | const Glib::ustring & | font_desc | ) | 
Set the font description, as returned from Gtk::FontButton::get_font_name(), which may include the size and style.
| font_desc | a Pango font description string | 
| void Glom::FieldFormatting::set_text_format_multiline | ( | bool | value = true | ) | 
Set whether the text should be displayed with multiple lines in the details view.
Text is displayed with a single line in the list view.
| [in] | value | whether the text should be displayed with multiple lines | 
| void Glom::FieldFormatting::set_text_format_multiline_height_lines | ( | guint | value | ) | 
Get the number of lines of text that should be displayed.
 1.7.1
 1.7.1