Class: GOffice::DataVectorStr
- Inherits:
-
DataVector
- Object
- Data
- DataVector
- GOffice::DataVectorStr
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#initialize(str, n) ⇒ GOffice::Data
constructor
The newly created #GOData.
-
#set_translate_func(func, data, notify) ⇒ nil
Sets a function to be used for translating elements of vec.
-
#translation_domain=(domain) ⇒ nil
Sets the translation domain and uses dgettext() for translating the elements of vec.
Methods inherited from DataVector
#decreasing, #get_markup, #get_minmax, #get_str, #get_value, #increasing, #len, #values, #vary_uniformly
Methods inherited from Data
#date_conv, #dup, #emit_changed, #eq, #get_bounds, #get_matrix_markup, #get_matrix_size, #get_matrix_string, #get_matrix_value, #get_vector_markup, #get_vector_string, #get_vector_value, #has_value, #is_decreasing, #is_increasing, #is_valid, #is_varying_uniformly, #n_dimensions, #n_values, #preferred_fmt, #scalar_markup, #scalar_string, #scalar_value, #serialize, #unserialize, #values, #vector_size
Constructor Details
#initialize(str, n) ⇒ GOffice::Data
Returns the newly created #GOData.
Instance Method Details
#set_translate_func(func, data, notify) ⇒ nil
Sets a function to be used for translating elements of vec
#translation_domain=(domain) ⇒ nil
Sets the translation domain and uses dgettext() for translating the elements of vec. Note that libgoffice expects all strings to be encoded in UTF-8, therefore the translation domain must have its codeset set to UTF-8, see bind_textdomain_codeset() in the gettext() documentation.
If you're not using gettext() for localization, see go_data_vector_str_set_translate_func().