Subversion Repositories SmartDukaan

Rev

Rev 13452 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13452 Rev 13453
Line 138... Line 138...
138
			    contentRow.createCell(13).setCellValue(cells.get(13).getNumericCellValue());
138
			    contentRow.createCell(13).setCellValue(cells.get(13).getNumericCellValue());
139
			    contentRow.createCell(14).setCellValue(cells.get(14).getNumericCellValue());
139
			    contentRow.createCell(14).setCellValue(cells.get(14).getNumericCellValue());
140
			    Cell weightCell = contentRow.createCell(15);
140
			    Cell weightCell = contentRow.createCell(15);
141
			    weightCell.setCellValue(cells.get(15).getNumericCellValue());
141
			    weightCell.setCellValue(cells.get(15).getNumericCellValue());
142
			    weightCell.setCellStyle(weightStyle);
142
			    weightCell.setCellStyle(weightStyle);
-
 
143
			    if(cells.get(16).getCellType()==Cell.CELL_TYPE_NUMERIC){
-
 
144
			    	contentRow.createCell(16).setCellValue(cells.get(16).getNumericCellValue());
-
 
145
			    }
-
 
146
			    if(cells.get(16).getCellType()==Cell.CELL_TYPE_STRING){
143
			    contentRow.createCell(16).setCellValue(cells.get(16).getStringCellValue());
147
			    	contentRow.createCell(16).setCellValue(cells.get(16).getStringCellValue());
-
 
148
			    }
144
			    contentRow.createCell(17).setCellValue(cells.get(17).getStringCellValue());
149
			    contentRow.createCell(17).setCellValue(cells.get(17).getStringCellValue());
145
			    contentRow.createCell(18).setCellValue(cells.get(18).getStringCellValue());
150
			    contentRow.createCell(18).setCellValue(cells.get(18).getStringCellValue());
146
		    }
151
		    }
147
	    }	    
152
	    }	    
148
		// Write the workbook to the output stream
153
		// Write the workbook to the output stream