I am using XSSF to draw shapes on a worksheet. Contrary to HSSF, XSSF draws these shapes with a border outline. While this is fine with some of my shapes, I don't want it with some of the other shapes. However, I have not found a way to disable the border outline from Apache POI. XSSFShape
has the method setLineWidth(double lineWidth)
but putting any value in here does not change the default border. So far, the only way for me to disable it is in Excel itself.
Any help in how to achieve this in XSSF? Here is the same question asked nearly 4 years ago, but no answer as of yet:
How to create XSSFShape with no border outline of the shape?