private Region createRegion(Attributes atts) {
		String abbyyType = null;
		int i;
		if ((i = atts.getIndex(ATTR_blockType)) >= 0) {
			abbyyType = atts.getValue(i);
		}
		
		RegionType primaType = RegionType.UnknownRegion;
		if ("Text".equals(abbyyType))
			primaType = RegionType.TextRegion;
		else if ("Table".equals(abbyyType))
			primaType = RegionType.TableRegion;
		else if ("Picture".equals(abbyyType))
			primaType = RegionType.ImageRegion;
		else if ("Barcode".equals(abbyyType))
			primaType = RegionType.GraphicRegion;
		else if ("Separator".equals(abbyyType))
			primaType = RegionType.SeparatorRegion;
		else if ("SeparatorsBox".equals(abbyyType))
			primaType = RegionType.SeparatorRegion;
		
		return layout.createRegion(primaType);
	}