catch (Throwable t) { logger.log( Level.WARNING, t.getMessage( ), t ); }
	protected void drawImage( IImageArea image )	{			Image img = null;		cb.saveState();		try		{			//lookup the source type of the image area			switch (((IImageContent) image.getContent()).getImageSource())			{			case IImageContent.IMAGE_FILE:			case IImageContent.IMAGE_URI:				if (null == ((IImageContent) image.getContent()).getURI())					return;				img = Image.getInstance(((IImageContent) image.getContent()).getURI());				break;			case IImageContent.IMAGE_NAME:			case IImageContent.IMAGE_EXPRESSION:				if (null == ((IImageContent) image.getContent()).getData())					return;				img = Image.getInstance(((IImageContent) image.getContent())						.getData());			}									//img.setDpi(5*img.getDpiX(),5*img.getDpiY());			// add the image to the given contentByte			cb.addImage(img, 					pdfMeasure(image.getWidth()), 0f, 0f, pdfMeasure(image.getHeight()),					layoutAreaX2PDF(image.getAbsoluteX()), 					layoutAreaY2PDF(image.getAbsoluteY(), image.getHeight()));		} catch (BadElementException bee)		{			logger.log( Level.WARNING, bee.getMessage( ), bee );		} catch (IOException ioe)		{			logger.log( Level.WARNING, ioe.getMessage( ), ioe );		} catch (DocumentException de)		{			logger.log( Level.WARNING, de.getMessage( ), de );		}		cb.restoreState();				//Check if itself is the destination of a bookmark.		//if so, make a bookmark; if not, do nothing		makeBookmark(image);				//handle hyper-link action		handleHyperlinkAction(image);	}