final int sz = sheet.getNumberOfImages();
for(int i =0; i < sz; i++){
Drawing drawing = (Drawing) sheet.getDrawing(i);
ZssDrawing zd = new ZssDrawing(drawing);
try {
final Image image = new ImageImpl(zd.getName(), zd.getAlt(), zd.getImageData(),
zd.getTop(), zd.getTopFraction() / 256d,
zd.getLeft(), zd.getLeftFraction() / 1024d,
getWidthInPx(zkSheet, zd), getHeightInPx(zkSheet, zd));
zkSheet.addImage(image);
if(log.debugable()){
StringBuffer sb = new StringBuffer();
sb.append(zd.getName());
sb.append("\n\tProperties: "+zd.getProperties());
sb.append("\n\tLeft: "+zd.getLeft());
sb.append("\n\tLeftFraction: "+zd.getLeftFraction());
sb.append("\n\tTop: "+zd.getTop());
sb.append("\n\tTopFraction: "+zd.getTopFraction());
sb.append("\n\tRight: "+zd.getRight());
sb.append("\n\tRightFraction: "+zd.getRightFraction());
sb.append("\n\tBottom: "+zd.getBottom());
sb.append("\n\tBottomFraction: "+zd.getBottomFraction());
sb.append("\n\timage.getAlt(): "+image.getAlt());
sb.append("\n\timage.getColumn(): "+image.getColumn());
sb.append("\n\timage.getColumnFraction(): "+image.getColumnFraction());
sb.append("\n\timage.getRow(): "+image.getRow());
sb.append("\n\timage.getRowFaction(): "+image.getRowFraction());
sb.append("\n\timage.getFrameWidth(): "+image.getFrameWidth());
sb.append("\n\timage.getFrameHeight():"+image.getFrameHeight());
log.debug(sb.toString());
}
} catch (IOException e) {
// TODO Auto-generated catch block