Hi,
A bit surprised by the inefficiency of some elements in XSSF.
Take for example XSSFCellBorder.equals method:
public boolean equals(Object o) {
if (!(o instanceof XSSFCellBorder)) return false;
XSSFCellBorder cf = (XSSFCellBorder) o;
return border.toString().equals
Hi Dominik,
I've already implemented a solution. I've modified 2 files StylesTable.java and
XSSFCellBorder.java
A simple solution really. If you're interested I could send you the modified
files.
FD
On 2018/08/23 08:55:54, Dominik Stadler wrote:
> Yes, this is inefficient in some cases, thi
Guys,
You cannot ask even from advanced developers to create a chart from scratch
with java code or any other code type.
Copying a chart from an existing model Excel file is needed in any real life
reporting project.
I've tinkered with the code and found a simple way to do it. I just needed
a
Hi Alain,
I'll paste some test code here. In my work we have a lot of restrictions when
it comes to websites.
Sorry I don't know how to format this code.
Important: the chartModel.xlsx should contain a chart, preferably with no
relations. After all you need the model to be copied to your repor
Hi again,
I apologize for not doing it the right way. I'll paste the modifications I did
hoping it would be clear:
In StylesTable.java
Add this variable:
private final Map bordersIndices = new HashMap();
The method putBorder becomes:
public int putBorder(XSSFCellBorder border) {
Obj