View | Details | Raw Unified | Return to bug 17491
Collapse All | Expand All

(-)src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java (+15 lines)
Lines 251-256 Link Here
251
251
252
    public final static byte ENCODING_COMPRESSED_UNICODE = 0;
252
    public final static byte ENCODING_COMPRESSED_UNICODE = 0;
253
    public final static byte ENCODING_UTF_16             = 1;
253
    public final static byte ENCODING_UTF_16             = 1;
254
255
256
	/**
257
	 * sets the order of appearance for a given sheet.
258
	 *
259
	 * @param sheetname the name of the sheet to reorder
260
	 * @param pos the position that we want to insert the sheet into (0 based)
261
	 */
262
    
263
	public void setSheetOrder(String sheetname, int pos ) {
264
	
265
	//remove the sheet that needs to be reordered and place it in the spot we want
266
	workbook.setSheetOrder(sheetname, pos);	
267
	}
268
254
    
269
    
255
    /**
270
    /**
256
     * set the sheet name.
271
     * set the sheet name.

Return to bug 17491