poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balaji" <bal...@solverminds.com>
Subject Re: plz help
Date Thu, 07 Apr 2005 12:04:53 GMT
yes Frans, i have tried the same, style of the cell will be same as the
template.

HSSFWorkbook book = new HSSFWorkbook(new
java.io.FileInputStream("C:\\test.xls"), true);

try this suchika.

Rgds,

Balaji

----- Original Message -----
From: "Ruchika Mittal01" <ruchika_mittal01@infosys.com>
To: "POI Users List" <poi-user@jakarta.apache.org>
Sent: Thursday, April 07, 2005 5:13 PM
Subject: RE: plz help


Yes.
Regards,
Ruchika

-----Original Message-----
From: Frans.Flippo@INGBank.com [mailto:Frans.Flippo@INGBank.com]
Sent: Thursday, April 07, 2005 5:14 PM
To: poi-user@jakarta.apache.org
Subject: RE: plz help

Are you calling

public HSSFWorkbook(java.io.InputStream s,
                    boolean preserveNodes)

or

public HSSFWorkbook(POIFSFileSystem fs,
                    boolean preserveNodes)

with preserveNodes == true ?

Regards,
Frans

> -----Original Message-----
> From: Ruchika Mittal01 [mailto:ruchika_mittal01@infosys.com]
> Sent: Thursday, April 07, 2005 1:00 PM
> To: poi-user@jakarta.apache.org
> Subject: plz help
> Importance: High
>
>
> Hi
>
> Is there any solution to my problem:
>
> I have to read a template, read some cells from it, compare them with
> the cells in another excel sheet.
>
> Then get data from the second cell based on the above comparison and
> write the data to the first one.
>
> Now in this whole process, the formatting of the first excel
> template is
> lost.
>
> Is there any method in POI to restore the formatting of the
> first excel
> after the whole process???
>
> Please help.
>
> Rgds,
>
> Ruchika
>
>


-----------------------------------------------------------------
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-----------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/






---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Mime
View raw message