Of course I will Rob. At home now so it will take me a few hours to search the code out. There is one limit however, I was working with just a single workbook and comparing styles within the workbook so to speak. I know that problems can arise if you are using more than one workbook - for example if you are copying over from one workbook to another - with fonts colours etc.
--- On Fri, 10/17/08, Rob Y <[EMAIL PROTECTED]> wrote: From: Rob Y <[EMAIL PROTECTED]> Subject: Re: HSSFCellStyle - global styles vs individual cell styles To: [email protected] Date: Friday, October 17, 2008, 8:16 AM > The method I have used in the past is to create a cell, add it to a row, insert the data, create a new cell style > and then check to see if I already have one with the relevant attributes. If so, apply that to the cell, if not > apply the new one to the cell and add it to the pool. That's the way I was going to do it too. I was just hoping that I could use equals to simplify the check for 'style already present'. Would you mind sharing the code you use to compare all the style attributes? Do you use the PropertyList class that the cell utility uses? Again, I'm new to java and apache, so I don't know what's available in the libraries of either. Thanks again, Rob --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
