gchar*
atk_text_get_text_after_offset (AtkText *text,
gint offset,
- AtkTextBoundary boundary_type)
+ AtkTextBoundary boundary_type,
+ gint *startOffset,
+ gint *endOffset)
{
AtkTextIface *iface;
iface = ATK_TEXT_GET_IFACE (text);
if (iface->get_text_after_offset)
- return (*(iface->get_text_after_offset)) (text, offset, boundary_type);
+ return (*(iface->get_text_after_offset)) (text, offset, boundary_type, startOffset, endOffset);
else
return NULL;
}
gchar*
atk_text_get_text_at_offset (AtkText *text,
gint offset,
- AtkTextBoundary boundary_type)
+ AtkTextBoundary boundary_type,
+ gint *startOffset,
+ gint *endOffset)
{
AtkTextIface *iface;
iface = ATK_TEXT_GET_IFACE (text);
if (iface->get_text_at_offset)
- return (*(iface->get_text_at_offset)) (text, offset, boundary_type);
+ return (*(iface->get_text_at_offset)) (text, offset, boundary_type, startOffset, endOffset);
else
return NULL;
}
gchar*
atk_text_get_text_before_offset (AtkText *text,
gint offset,
- AtkTextBoundary boundary_type)
+ AtkTextBoundary boundary_type,
+ gint *startOffset,
+ gint *endOffset)
{
AtkTextIface *iface;
iface = ATK_TEXT_GET_IFACE (text);
if (iface->get_text_before_offset)
- return (*(iface->get_text_before_offset)) (text, offset, boundary_type);
+ return (*(iface->get_text_before_offset)) (text, offset, boundary_type, startOffset, endOffset);
else
return NULL;
}
gint end_offset);
gchar* (* get_text_after_offset) (AtkText *text,
gint offset,
- AtkTextBoundary boundary_type);
+ AtkTextBoundary boundary_type,
+ gint *startOffset,
+ gint *endOffset);
gchar* (* get_text_at_offset) (AtkText *text,
gint offset,
- AtkTextBoundary boundary_type);
+ AtkTextBoundary boundary_type,
+ gint *startOffset,
+ gint *endOffset);
gunichar (* get_character_at_offset) (AtkText *text,
gint offset);
gchar* (* get_text_before_offset) (AtkText *text,
gint offset,
- AtkTextBoundary boundary_type);
+ AtkTextBoundary boundary_type,
+ gint *startOffset,
+ gint *endOffset);
gint (* get_caret_offset) (AtkText *text);
AtkAttributeSet* (* ref_run_attributes) (AtkText *text,
gint offset,
gint offset);
gchar* atk_text_get_text_after_offset (AtkText *text,
gint offset,
- AtkTextBoundary boundary_type);
+ AtkTextBoundary boundary_type,
+ gint *startOffset,
+ gint *endOffset);
gchar* atk_text_get_text_at_offset (AtkText *text,
gint offset,
- AtkTextBoundary boundary_type);
+ AtkTextBoundary boundary_type,
+ gint *startOffset,
+ gint *endOffset);
gchar* atk_text_get_text_before_offset (AtkText *text,
gint offset,
- AtkTextBoundary boundary_type);
+ AtkTextBoundary boundary_type,
+ gint *startOffset,
+ gint *endOffset);
gint atk_text_get_caret_offset (AtkText *text);
void atk_text_get_character_extents (AtkText *text,
gint offset,