lo_ChangeBodyTextFGColor(context, state, &text_fg);
lo_ChangeBodyTextFGColor(context, state, &text_fg, FALSE);
lo_BodyForeground(MWContext *context, lo_DocState *state, PA_Tag *tag){	PA_Block buff;	char *str;	uint8 red, green, blue;	/*	 * Don't do this is we had a TEXT from a previous BODY tag.	 */	if ((state->top_state->body_attr & BODY_ATTR_TEXT) == 0)	{		/*		 * Get the document text TEXT parameter.		 */		buff = lo_FetchParamValue(context, tag, PARAM_TEXT);		if (buff != NULL)		{            LO_Color text_fg;            			PA_LOCK(str, char *, buff);			LO_ParseRGB(str, &red, &green, &blue);			PA_UNLOCK(buff);			PA_FREE(buff);			text_fg.red = red;			text_fg.green = green;			text_fg.blue = blue;            lo_ChangeBodyTextFGColor(context, state, &text_fg);		}	}	/*	 * Don't do this is we had a LINK from a previous BODY tag.	 */	if ((state->top_state->body_attr & BODY_ATTR_LINK) == 0)	{		/*		 * Get the anchor text LINK parameter.		 */		buff = lo_FetchParamValue(context, tag, PARAM_LINK);		if (buff != NULL)		{			state->top_state->body_attr |= BODY_ATTR_LINK;			PA_LOCK(str, char *, buff);			LO_ParseRGB(str, &red, &green, &blue);			PA_UNLOCK(buff);			PA_FREE(buff);			state->anchor_color.red = red;			state->anchor_color.green = green;			state->anchor_color.blue = blue;		}	}	/*	 * Don't do this is we had a VLINK from a previous BODY tag.	 */	if ((state->top_state->body_attr & BODY_ATTR_VLINK) == 0)	{		/*		 * Get the visited anchor text VLINK parameter.		 */		buff = lo_FetchParamValue(context, tag, PARAM_VLINK);		if (buff != NULL)		{			state->top_state->body_attr |= BODY_ATTR_VLINK;			PA_LOCK(str, char *, buff);			LO_ParseRGB(str, &red, &green, &blue);			PA_UNLOCK(buff);			PA_FREE(buff);			state->visited_anchor_color.red = red;			state->visited_anchor_color.green = green;			state->visited_anchor_color.blue = blue;		}	}	/*	 * Don't do this is we had a ALINK from a previous BODY tag.	 */	if ((state->top_state->body_attr & BODY_ATTR_ALINK) == 0)	{		/*		 * Get the active anchor text ALINK parameter.		 */		buff = lo_FetchParamValue(context, tag, PARAM_ALINK);		if (buff != NULL)		{			state->top_state->body_attr |= BODY_ATTR_ALINK;			PA_LOCK(str, char *, buff);			LO_ParseRGB(str, &red, &green, &blue);			PA_UNLOCK(buff);			PA_FREE(buff);			state->active_anchor_color.red = red;			state->active_anchor_color.green = green;			state->active_anchor_color.blue = blue;		}	}}