https://issues.apache.org/bugzilla/show_bug.cgi?id=53763
Priority: P2
Bug ID: 53763
Assignee: [email protected]
Summary: [PATCH] avoid style mess when using HSSFOptimiser
Severity: normal
Classification: Unclassified
OS: Windows XP
Reporter: [email protected]
Hardware: PC
Status: NEW
Version: 3.9-dev
Component: HSSF
Product: POI
In some cases HSSFOptimiser messes up styles of the cells. In particular, this
happens when cells with duplicate styles are not near each other but have other
cells between them.
Problem is that styles are removed by object (not index)
(InternalWorkbook#removeExFormatRecord(ExtendedFormatRecord)) and since
underlying structure is a list this removes the first suitable style and not
the one we actually need to remove.
Added method to remove style by its index, used it in HSSFOptimiser. Added test
that fails unless suggested changes applied.
On a separate topic - patch.xml excludes patch.txt from resulting archive?
--
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]