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 2012/09/18 18:46:42 UTC

[Bug 53611] Incorret dimension set in created workbook sheet xml file

https://issues.apache.org/bugzilla/show_bug.cgi?id=53611

--- Comment #3 from Ryan <Ry...@Teradata.com> ---
I have found a workaround to this bug.  You can set the dimension reference
yourself.  I am using SXSSF in my application, but the workaround is possible
for either SXSSF or XSSF.

It should also be an easy bug to fix for POI.

Here is the code snippet: (wb is a SXSSFWorkbook)

CTWorksheet ctSheet = wb.getXSSFWorkbook().getSheetAt(0).getCTWorksheet();
ctSheet.getDimension().setRef("A1:D47");

-- 
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