public ContentObject getObjectAt(int x, int y, ContentType type) {
		if (type instanceof RegionType)
			return getRegionAt(x, y);
		else if (type instanceof LowLevelTextType) { //Text lines, word, glyph
			for (ContentIterator it = this.iterator(RegionType.TextRegion); it.hasNext(); ) {
				Region reg = (Region)it.next(); 
				if (reg instanceof LowLevelTextContainer) {
					ContentObject obj = getLowLevelTextObjectAt((LowLevelTextContainer)reg, x, y, (LowLevelTextType)type);
					if (obj != null)
						return obj;
				}
			}		
		}
		return null;
	}