ASF Bugzilla – Attachment 26618 Details for
Bug 50728
file error about setting 255th column width
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
java source
source.txt (text/plain), 678 bytes, created by
katsu
on 2011-02-08 00:29:04 UTC
(
hide
)
Description:
java source
Filename:
MIME Type:
Creator:
katsu
Created:
2011-02-08 00:29:04 UTC
Size:
678 bytes
patch
obsolete
> /** > * @param args > * @throws IOException > */ > public static void main(String[] args) throws IOException { > InputStream inp = new FileInputStream("workbook1.xls"); > > HSSFWorkbook wb = new HSSFWorkbook(inp); > HSSFSheet sheet = wb.getSheetAt(0); > > HSSFCell cell = sheet.getRow(0).getCell(255); > if (cell == null) { > cell = sheet.getRow(0).createCell(255); > } > > cell.setCellValue("xxxxxxxxxxx"); > > sheet.setColumnWidth(255, 76*256); > > > FileOutputStream fileOut = new FileOutputStream("workbook2.xls"); > wb.write(fileOut); > fileOut.close(); > > > > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 50728
: 26618 |
26619