X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=atspi%2Fatspi-text.h;h=8e11eb03de01d5b01aa5dd98ac64e644d60377b5;hb=57ae8d6e0e518151e5e4b87cc8703ce60f46f1e5;hp=21e2db3f185ccff0ff8d4de8419f6599d31b5ada;hpb=e74c40ea4b7616930557ca2e9eda73f5b344a4b5;p=platform%2Fupstream%2Fat-spi2-core.git diff --git a/atspi/atspi-text.h b/atspi/atspi-text.h index 21e2db3..8e11eb0 100644 --- a/atspi/atspi-text.h +++ b/atspi/atspi-text.h @@ -89,21 +89,33 @@ gchar * atspi_text_get_text (AtspiText *obj, gint start_offset, gint end_offset, gint atspi_text_get_caret_offset (AtspiText *obj, GError **error); +#ifndef ATSPI_DISABLE_DEPRECATED GHashTable *atspi_text_get_attributes (AtspiText *obj, gint offset, gint *start_offset, gint *end_offset, GError **error); +#endif + +GHashTable *atspi_text_get_text_attributes (AtspiText *obj, gint offset, gint *start_offset, gint *end_offset, GError **error); GHashTable *atspi_text_get_attribute_run (AtspiText *obj, gint offset, gboolean include_defaults, gint *start_offset, gint *end_offset, GError **error); +#ifndef ATSPI_DISABLE_DEPRECATED gchar * atspi_text_get_attribute_value (AtspiText *obj, gint offset, gchar *attribute_name, GError **error); +#endif + +gchar * atspi_text_get_text_attribute_value (AtspiText *obj, gint offset, gchar *attribute_name, GError **error); GHashTable * atspi_text_get_default_attributes (AtspiText *obj, GError **error); gboolean atspi_text_set_caret_offset (AtspiText *obj, gint new_offset, GError **error); +#ifndef ATSPI_DISABLE_DEPRECATED AtspiTextRange * atspi_text_get_text_before_offset (AtspiText *obj, gint offset, AtspiTextBoundaryType type, GError **error); AtspiTextRange * atspi_text_get_text_at_offset (AtspiText *obj, gint offset, AtspiTextBoundaryType type, GError **error); AtspiTextRange * atspi_text_get_text_after_offset (AtspiText *obj, gint offset, AtspiTextBoundaryType type, GError **error); +#endif + +AtspiTextRange * atspi_text_get_string_at_offset (AtspiText *obj, gint offset, AtspiTextGranularity granularity, GError **error); guint atspi_text_get_character_at_offset (AtspiText *obj, gint offset, GError **error);