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 2015/01/21 13:55:34 UTC

[Bug 57474] New: RefersToFormula for defined name changes after sheet re-order

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

            Bug ID: 57474
           Summary: RefersToFormula for defined name changes after sheet
                    re-order
           Product: POI
           Version: 3.11-FINAL
          Hardware: PC
            Status: NEW
          Severity: regression
          Priority: P2
         Component: HSSF
          Assignee: dev@poi.apache.org
          Reporter: chiranjeeviavvaru@amberroad.com

I have defined a name called DB_NAMES(table_array) refers to a sheet3 in
MS-EXCEL. 
Now DB_NAMES refres to formule is =sheet3!$A$2:$B$245 

my excel has 4 sheets.

by using POI, I am deleting the sheet2 and re-creating with same name sheet2.
Now the new sheet created at end. 

I am doing a re-order my using 
workbook.setSheetOrder("sheet1", 0);
workbook.setSheetOrder("sheet2", 1);
workbook.setSheetOrder("sheet3", 2);
workbook.setSheetOrder("sheet4", 3);

after that my DB_NAMES refers to formule changed to =REF!$A$2:$B$245

This is working fine in POI - 3.7 version. After upgraded to 3.11 version I got
this issue. formules in the excel got corrupted.

Could you please let me know, do i need to take any other version of POI and do
i need to change the code or can this be fixed in any POI version.

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


[Bug 57474] RefersToFormula for defined name changes after sheet re-order

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

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Dominik Stadler <do...@gmx.at> ---
Can you please attach the Excel file and your source code, preferably as unit
test so we can reproduce your problem?

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


[Bug 57474] RefersToFormula for defined name changes after sheet re-order

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

Chiranjeevi Avvaru <ch...@amberroad.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P1
                 OS|                            |All

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