}
private void startImage(Attributes attrs) {
String s = textHandler.text();
if (s.length() > 0) {
container.add(new TextString(s));
}
s = attrs.getValue("alignment");
Integer a = (Integer)IMAGE_ALIGNMENT_MAP.get(s);
imageAlignment = a == null ? ImageElement.TOP_ALIGNMENT : a.intValue();
imageWidth = toQuantity(attrs.getValue("width"));