You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2009/02/17 09:26:46 UTC

DO NOT REPLY [Bug 46719] New: ShiftRows(...) will change unrelated rows' height

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: dev@poi.apache.org
        ReportedBy: matthew.knl@gmail.com


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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 46719] ShiftRows(...) will change unrelated rows' height

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46719


Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Yegor Kozlov <ye...@dinom.ru>  2009-02-25 11:13:36 PST ---
Fixed in r747894 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=747894 )
Yegor

-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 46719] ShiftRows(...) will change unrelated rows' height

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46719





--- Comment #1 from Matthew <ma...@gmail.com>  2009-02-17 00:27:27 PST ---
Created an attachment (id=23266)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23266)
output.xlsx, the first row's height is changed


-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org