private int parseAnchorConstraint(String str) {
		if (str == null) return CENTER;
		if (str.equals("center")) return CENTER;
		if (str.equals("north")) return NORTH;
		if (str.equals("south")) return SOUTH;
		if (str.equals("east")) return EAST;
		if (str.equals("west")) return WEST;
		if (str.equals("northeast") || str.equals("ne")) return NORTHEAST;
		if (str.equals("northwest") || str.equals("nw")) return NORTHWEST;
		if (str.equals("southeast") || str.equals("se")) return SOUTHEAST;
		if (str.equals("southwest") || str.equals("sw")) return SOUTHWEST;
		if (str.equals("page_start")) return MY_PAGE_START;
		if (str.equals("page_end")) return MY_PAGE_END;
		if (str.equals("line_start")) return MY_LINE_START;
		if (str.equals("line_end")) return MY_LINE_END;
		if (str.equals("first_line_start")) return MY_FIRST_LINE_START;
		if (str.equals("first_line_end")) return MY_FIRST_LINE_END;
		if (str.equals("last_line_start")) return MY_LAST_LINE_START;
		if (str.equals("last_line_end")) return MY_LAST_LINE_END;
		throw new ErrorException("TableConstraints: Illegal anchor specification");
	}