-#define ATK_ATTRIBUTE_INDENT "indent"
-
-/**
- * ATK_ATTRIBUTE_INVISIBLE:
- *
- * An #AtkAttribute name/value pair.
- * Either "true" or "false" indicating whether text is visible or not
- **/
-#define ATK_ATTRIBUTE_INVISIBLE "invisible"
-
-/**
- * ATK_ATTRIBUTE_EDITABLE:
- *
- * An #AtkAttribute name/value pair.
- * Either "true" or "false" indicating whether text is editable or not
- **/
-#define ATK_ATTRIBUTE_EDITABLE "editable"
-
-/**
- * ATK_ATTRIBUTE_PIXELS_ABOVE_LINES:
- *
- * An #AtkAttribute name/value pair.
- * Pixels of blank space to leave above each newline-terminated line.
- **/
-#define ATK_ATTRIBUTE_PIXELS_ABOVE_LINES "pixels_above_lines"
-
-/**
- * ATK_ATTRIBUTE_PIXELS_BELOW_LINES:
- *
- * An #AtkAttribute name/value pair.
- * Pixels of blank space to leave below each newline-terminated line.
- **/
-#define ATK_ATTRIBUTE_PIXELS_BELOW_LINES "pixels_below_lines"
-
-/**
- * ATK_ATTRIBUTE_PIXELS_INSIDE_WRAP:
- *
- * An #AtkAttribute name/value pair.
- * Pixels of blank space to leave between wrapped lines inside the same newline-terminated line (paragraph).
- **/
-#define ATK_ATTRIBUTE_PIXELS_INSIDE_WRAP "pixels_inside_wrap"
-
-/**
- * ATK_ATTRIBUTE_BG_FULL_HEIGHT:
- *
- * An #AtkAttribute name/value pair.
- * "true" or "false" whether to make the background color for each character the height of the highest font used on the current line, or the height of the font used for the current character.
- **/
-#define ATK_ATTRIBUTE_BG_FULL_HEIGHT "bg_full_height"
-
-/**
- * ATK_ATTRIBUTE_RISE:
- *
- * An #AtkAttribute name/value pair.
- * Number of pixels that the characters are risen above the baseline
- * The value is a string representation of an integer
- **/
-#define ATK_ATTRIBUTE_RISE "rise"
-
-/**
- * ATK_ATTRIBUTE_UNDERLINE:
- *
- * An #AtkAttribute name/value pair.
- * "true" or "false" whether the text is underlined
- **/
-#define ATK_ATTRIBUTE_UNDERLINE "underline"
-
-/**
- * ATK_ATTRIBUTE_STRIKETHROUGH:
- *
- * An #AtkAttribute name/value pair.
- * "true" or "false" whether the text is strikethrough
- **/
-#define ATK_ATTRIBUTE_STRIKETHROUGH "strikethrough"
-
-/**
- * ATK_ATTRIBUTE_SIZE:
- *
- * An #AtkAttribute name/value pair.
- * The size of the characters.
- * The value is a string representation of an integer
- **/
-#define ATK_ATTRIBUTE_SIZE "size"
-
-/**
- * ATK_ATTRIBUTE_SCALE:
- *
- * An #AtkAttribute name/value pair.
- * The scale of the characters. The value is a string representation of a double
- **/
-#define ATK_ATTRIBUTE_SCALE "scale"
-
-/**
- * ATK_ATTRIBUTE_WEIGHT:
- *
- * An #AtkAttribute name/value pair.
- * The weight of the characters. The value is a string representation of an integer
- **/
-#define ATK_ATTRIBUTE_WEIGHT "weight"
+typedef enum
+{
+ ATK_TEXT_ATTR_INVALID = 0,
+ ATK_TEXT_ATTR_LEFT_MARGIN,
+ ATK_TEXT_ATTR_RIGHT_MARGIN,
+ ATK_TEXT_ATTR_INDENT,
+ ATK_TEXT_ATTR_INVISIBLE,
+ ATK_TEXT_ATTR_EDITABLE,
+ ATK_TEXT_ATTR_PIXELS_ABOVE_LINES,
+ ATK_TEXT_ATTR_PIXELS_BELOW_LINES,
+ ATK_TEXT_ATTR_PIXELS_INSIDE_WRAP,
+ ATK_TEXT_ATTR_BG_FULL_HEIGHT,
+ ATK_TEXT_ATTR_RISE,
+ ATK_TEXT_ATTR_UNDERLINE,
+ ATK_TEXT_ATTR_STRIKETHROUGH,
+ ATK_TEXT_ATTR_SIZE,
+ ATK_TEXT_ATTR_SCALE,
+ ATK_TEXT_ATTR_WEIGHT,
+ ATK_TEXT_ATTR_LANGUAGE,
+ ATK_TEXT_ATTR_FAMILY_NAME,
+ ATK_TEXT_ATTR_BG_COLOR,
+ ATK_TEXT_ATTR_FG_COLOR,
+ ATK_TEXT_ATTR_BG_STIPPLE,
+ ATK_TEXT_ATTR_FG_STIPPLE,
+ ATK_TEXT_ATTR_WRAP_MODE,
+ ATK_TEXT_ATTR_DIRECTION,
+ ATK_TEXT_ATTR_JUSTIFICATION,
+ ATK_TEXT_ATTR_STRETCH,
+ ATK_TEXT_ATTR_VARIANT,
+ ATK_TEXT_ATTR_STYLE,
+ ATK_TEXT_ATTR_LAST_DEFINED
+} AtkTextAttribute;
+
+ATK_AVAILABLE_IN_ALL
+AtkTextAttribute atk_text_attribute_register (const gchar *name);