if (data == null || data.length != 17)
throw new UiException(MZk.ILLEGAL_REQUEST_WRONG_DATA,
new Object[] {Objects.toString(data), this});
Spreadsheet spreadsheet = ((Spreadsheet)comp);
SpreadsheetInCtrl ctrl = ((SpreadsheetInCtrl)spreadsheet.getExtraCtrl());
String sheetId = data[0];
int dpWidth = Integer.parseInt(data[1]);//pixel value of data panel width
int dpHeight = Integer.parseInt(data[2]);//pixel value of data panel height
int viewWidth = Integer.parseInt(data[3]);//pixel value of view width(scrollpanel.clientWidth)
int viewHeight = Integer.parseInt(data[4]);//pixel value of value height
int blockLeft = Integer.parseInt(data[5]);
int blockTop = Integer.parseInt(data[6]);
int blockRight = Integer.parseInt(data[7]);// + blockLeft - 1;
int blockBottom = Integer.parseInt(data[8]);// + blockTop - 1;;
int fetchLeft = Integer.parseInt(data[9]);
int fetchTop = Integer.parseInt(data[10]);
int fetchWidth = Integer.parseInt(data[11]);
int fetchHeight = Integer.parseInt(data[12]);
int rangeLeft = Integer.parseInt(data[13]);//visible range
int rangeTop = Integer.parseInt(data[14]);
int rangeRight = Integer.parseInt(data[15]);
int rangeBottom = Integer.parseInt(data[16]);
if(false){
System.out.println(">>>>>>>>>>>>>>>>>BlockSyncCommand:sheetId:"+sheetId);
System.out.println("data panel size >>>>w:"+dpWidth+",h:"+dpHeight);
System.out.println("view size >>>>w:"+viewWidth+",h:"+viewHeight);
System.out.println("block range >>>>left:"+blockLeft+",top:"+blockTop+",right:"+blockRight+",b:"+blockBottom);
System.out.println("fetch size >>>>left:"+fetchLeft+",top:"+fetchTop+",w:"+fetchWidth+",h:"+fetchHeight);
System.out.println("visible range >>>>left:"+rangeLeft+",top:"+rangeTop+",right:"+rangeRight+",bottom:"+rangeBottom);
System.out.println("<<<<<<<<<<<<<<<<<");
}
ctrl.setLoadedRect(blockLeft,blockTop,blockRight,blockBottom);
}