Would you prefer just overriding setCellStyleProperty with a secondary set of 
parameters, or creating a new method named setCellStyleProperties? In either 
case, setCellStyleProperty would change to call the new method for a single 
property.

-----Original Message-----
From: Nick Burch [mailto:apa...@gagravarr.org] 
Sent: Thursday, November 05, 2015 9:48 AM
To: POI Users List
Subject: RE: Drawing Borders is SLOW

On Thu, 5 Nov 2015, Murphy, Mark wrote:
> My thought was to build the borders on their own, then once the 
> borders are created, apply them to the cell styles in a single step. 
> This would require a few new objects.
>
> You are going to have to change 
> poi.apache.ss.util.CellUtil.setCellStyleProperty

Oh, you're using CellUtil! That does change things

I don't see why we couldn't add a method onto CellUtil which took muliple 
properties, and found/created a style with all of those on in one go

That's different to working on the CellStyle objects directly, which is what I 
thought you were doing


Please feel free to create an enhancement in bugzilla for this (stressing 
it's for CellUtil not CellStyle, to avoid others getting confused), then 
even better work up a patch if you can!

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@poi.apache.org
For additional commands, e-mail: user-h...@poi.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@poi.apache.org
For additional commands, e-mail: user-h...@poi.apache.org

Reply via email to