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 <[email protected]> wrote:


From: Dave Fisher <[email protected]>
Subject: Re: hssfrow->setRowStyle
To: "POI Users List" <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]






---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to