[prev in list] [next in list] [prev in thread] [next in thread]
List: poi-user
Subject: Re: hssfrow->setRowStyle
From: Dave Fisher <dave () jmlafferty ! com>
Date: 2009-09-09 22:23:49
Message-ID: D8127DEF-23DF-4291-BF2E-05276DDDD397 () jmlafferty ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic