poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Fisher <d...@jmlafferty.com>
Subject Re: hssfrow->setRowStyle
Date Wed, 09 Sep 2009 22:23:49 GMT
HI -

You may have more than one version of POI or mismatched Jars in your  
classpath.

Regards,
Dave

On Sep 9, 2009, at 3:20 PM, Jasmina Desai wrote:

> Thanks Dave.
> Now I do not get NoSuchMethodError anymore.
>
> Now the problem is something different.
> I create a row like :
>
> HSSFRow hssfRow = sheet.createRow(rowIndex);
> hssfRow.setRowStyle(headerStyle);
>
> The setRowStyle somehow does not work at all. The headerStyle above  
> is set to bold. But  the text I get on the excel is not bold.  
> Instead if I set the cell style to bold, it works.
>
> Any hint on why the setRowStyle would not work?
>
> Thanks In Advance!
>
> Regards
> Jasmina
>
>
> --- On Wed, 9/9/09, Dave Fisher <dave@jmlafferty.com> wrote:
>
>
> From: Dave Fisher <dave@jmlafferty.com>
> Subject: Re: hssfrow->setRowStyle
> To: "POI Users List" <user@poi.apache.org>
> Date: Wednesday, September 9, 2009, 11:09 PM
>
>
> Hi,
>
> The api described on the poi site reflects the current version of the
> development trunk - which is close to 3.5-FINAL.
>
> The 3.2-FINAL documentation is included with the release.
>
> Regards,
> Dave
>
> On Sep 9, 2009, at 1:45 PM, Jasmina Desai wrote:
>
>> Hi,
>>
>> I am using poi 3.2-FINAL in my project.
>> I am trying to call the method setRowStyle on hssfrow.
>> I get a NoSuchMethodError.
>>
>> The api does show this method. I don't know what is wrong.
>>
>> Thanks
>> Jasmina
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>
>
>
>


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


Mime
View raw message