poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45720] cloneSheet breaks autofilters
Date Mon, 08 Sep 2008 13:33:58 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45720





--- Comment #8 from Yegor Kozlov <yegor@dinom.ru>  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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message