public static List<String> getStaticImages(Report report) {
		List<String> images = new ArrayList<String>();
		ReportLayout layout = report.getLayout();
		List<Band> bands = layout.getBands();
		for (Band band : bands) {
			for (int i = 0, rows = band.getRowCount(); i < rows; i++) {
				List<BandElement> list = band.getRow(i);
				for (BandElement be : list) {
					if ((be instanceof ImageBandElement) && !(be instanceof ChartBandElement)
							&& !(be instanceof BarcodeBandElement)) {
						images.add(((ImageBandElement) be).getImage());
					}
				}
			}
		}
		if (layout.getBackgroundImage() != null) {
			images.add(layout.getBackgroundImage());
		}
		return images;
	}
public static List < String > getStaticImages ( Report report ) { List < String > images = new ArrayList < String > ( ) ; ReportLayout layout = report . getLayout ( ) ; List < Band > bands = layout . getBands ( ) ; for ( Band band : bands ) { for ( int i = 0 , rows = band . getRowCount ( ) ; i < rows ; i ++ ) { List < BandElement > list = band . getRow ( i ) ; for ( BandElement be : list ) { if ( ( be instanceof ImageBandElement ) && ! ( be instanceof ChartBandElement ) && ! ( be instanceof BarcodeBandElement ) ) { images . add ( ( ( ImageBandElement ) be ) . getImage ( ) ) ; } } } } if ( layout . getBackgroundImage ( ) != null ) { images . add ( layout . getBackgroundImage ( ) ) ; } return images ; }
Get static images used by report

@param report
report
@return a list of static images used by report