https://issues.apache.org/bugzilla/show_bug.cgi?id=46719
Summary: ShiftRows(...) will change unrelated rows' height
Product: POI
Version: 3.5-dev
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=23265)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23265)
input file for testing
I run following codes which only shift 1 row (start from row number 15). But
the output file first row's height is changed (which is reset to same as other
rows height).
Please use the attached "input.xlsx" for testing.
"output.xlsx" is the output file.
--
Workbook wb = new XSSFWorkbook("input.xlsx");
Sheet sheet = wb.getSheet("CommericalInvoice");
sheet.shiftRows(15, sheet.getLastRowNum(), 1, true, true);
wb.write(new FileOutputStream("output.xlsx"));
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]