src/org/tiefaces/components/websheet/utility/PicturesUtility.java
private static void getXSSFPictruesMap(final XSSFWorkbook wb,
			final Map<String, Picture> picMap) {

		picMap.clear();
		List<XSSFPictureData> pictures = wb.getAllPictures();
		if (pictures.isEmpty()) {
			return;
		}
		for (int i = 0; i < wb.getNumberOfSheets(); i++) {
			XSSFSheet sheet = wb.getSheetAt(i);
			for (POIXMLDocumentPart dr : sheet.getRelations()) {
				try {
					indexPictureInMap(picMap, sheet, dr);
				} catch (Exception ex) {
					LOG.log(Level.SEVERE, "Load Picture error = "
							+ ex.getLocalizedMessage(), ex);
				}
			}
		}

		return;

	}
private static void getXSSFPictruesMap(final XSSFWorkbook wb,
			final Map<String, Picture> picMap) {

		picMap.clear();
		List<XSSFPictureData> pictures = wb.getAllPictures();
		if (pictures.isEmpty()) {
			return;
		}
		for (int i = 0; i < wb.getNumberOfSheets(); i++) {
			XSSFSheet sheet = wb.getSheetAt(i);
			for (POIXMLDocumentPart dr : sheet.getRelations()) {
				try {
					indexPictureInMap(picMap, sheet, dr);
				} catch (Exception ex) {
					LOG.log(Level.SEVERE, "Load Picture error = "
							+ ex.getLocalizedMessage(), ex);
				}
			}
		}

		return;

	}
private static void getXSSFPictruesMap ( final XSSFWorkbook wb , final Map < String , Picture > picMap ) { picMap . clear ( ) ; List < XSSFPictureData > pictures = wb . getAllPictures ( ) ; if ( pictures . isEmpty ( ) ) { return ; } for ( int i = 0 ; i < wb . getNumberOfSheets ( ) ; i ++ ) { XSSFSheet sheet = wb . getSheetAt ( i ) ; for ( POIXMLDocumentPart dr : sheet . getRelations ( ) ) { try { indexPictureInMap ( picMap , sheet , dr ) ; } catch ( Exception ex ) { LOG . log ( Level . SEVERE , "Load Picture error = " + ex . getLocalizedMessage ( ) , ex ) ; } } } return ; }
Gets the XSSF pictrues map.

@param wb
the wb
@param picMap
the pic map
Gets the XSSF pictrues map .