https://issues.apache.org/bugzilla/show_bug.cgi?id=45720
--- Comment #8 from Yegor Kozlov <[EMAIL PROTECTED]> 2008-09-08 06:33:57 PST
---
Josh,
HSSFWorkbook.findExistingBuiltinNameRecordIdx does not find NameRecord if there
is a sheet before the cloned one.
As result, the NameRecord is missing in the output.
Run the code from the second attachment. The following "if" clause is not
executed:
int filterDbNameIndex = findExistingBuiltinNameRecordIdx(sheetIndex,
NameRecord.BUILTIN_FILTER_DB);
if (filterDbNameIndex >=0) {
...
}
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]