src/org/tiefaces/components/websheet/utility/PicturesUtility.java
private static void indexPictureInMap(final Map<String, Picture> picMap,
			final XSSFSheet sheet, final POIXMLDocumentPart dr) {
		if (dr instanceof XSSFDrawing) {
			XSSFDrawing drawing = (XSSFDrawing) dr;
			List<XSSFShape> shapes = drawing.getShapes();
			for (XSSFShape shape : shapes) {
				if (shape instanceof XSSFPicture) {
					XSSFPicture pic = (XSSFPicture) shape;
					XSSFClientAnchor anchor = pic.getPreferredSize();
					CTMarker ctMarker = anchor.getFrom();
					String picIndex = WebSheetUtility.getFullCellRefName(
							sheet.getSheetName(), ctMarker.getRow(),
							ctMarker.getCol());
					picMap.put(picIndex, pic);
				}
			}
		}
	}
private static void indexPictureInMap(final Map<String, Picture> picMap,
			final XSSFSheet sheet, final POIXMLDocumentPart dr) {
		if (dr instanceof XSSFDrawing) {
			XSSFDrawing drawing = (XSSFDrawing) dr;
			List<XSSFShape> shapes = drawing.getShapes();
			for (XSSFShape shape : shapes) {
				if (shape instanceof XSSFPicture) {
					XSSFPicture pic = (XSSFPicture) shape;
					XSSFClientAnchor anchor = pic.getPreferredSize();
					CTMarker ctMarker = anchor.getFrom();
					String picIndex = WebSheetUtility.getFullCellRefName(
							sheet.getSheetName(), ctMarker.getRow(),
							ctMarker.getCol());
					picMap.put(picIndex, pic);
				}
			}
		}
	}
private static void indexPictureInMap ( final Map < String , Picture > picMap , final XSSFSheet sheet , final POIXMLDocumentPart dr ) { if ( dr instanceof XSSFDrawing ) { XSSFDrawing drawing = ( XSSFDrawing ) dr ; List < XSSFShape > shapes = drawing . getShapes ( ) ; for ( XSSFShape shape : shapes ) { if ( shape instanceof XSSFPicture ) { XSSFPicture pic = ( XSSFPicture ) shape ; XSSFClientAnchor anchor = pic . getPreferredSize ( ) ; CTMarker ctMarker = anchor . getFrom ( ) ; String picIndex = WebSheetUtility . getFullCellRefName ( sheet . getSheetName ( ) , ctMarker . getRow ( ) , ctMarker . getCol ( ) ) ; picMap . put ( picIndex , pic ) ; } } } }
save pciture in map with index.

@param picMap
pciture map.
@param sheet
sheet.
@param dr
documentme part.
save pciture in map with index .