How to determine the position in word document using HWPF

2004-07-23 Thread Srinivas
Hi Friends, Thank you for helping regularly. I am using POI in my application .I am able to read/write the data from Word Document.And also using the Templates(ie Word Document formats) in my application.. Now my problem is I need to create a template in word and then fill the documen

RE: Where are the HWPF classes?

2004-07-23 Thread gdeschen
Thanks again Tim. I have checked out the source found at the link you supplied. I don't know where to start I can download the files one by one but there must be a better way to do this? Then Thanks for your time and patience. - Glenn Tim Forbis <[EMAIL PROTECTED]> 07/23/2004 10:14 AM P

RE: RE : Linking to other sheets in the same workbook

2004-07-23 Thread Darshak Mehta
Thanks, it worked!! POI and the user group is just fantastic. Darshak -Original Message- From: PARIS Jean-Pierre RD-BIZZ-SOP [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 8:21 AM To: POI Users List Subject: RE : Linking to other sheets in the same workbook Hello! Fill the cel

RE : Linking to other sheets in the same workbook

2004-07-23 Thread PARIS Jean-Pierre RD-BIZZ-SOP
Hello! Fill the cell where you want to have your link with: cell.setCellFormula("HYPERLINK(\"#" + __TheNameOfTheDestSheet__ + "!" + __TheNameOfTheDestCell__ + "\", \"" + __LinkLabel__ + "\")"); In the Excel workbook, you will find for example: =HYPERLINK("#Sheet1

Re: Need help urgent!!

2004-07-23 Thread Danny Mui
you cant with hssf. only way to deal with them is to use a template at the moment Darshak Mehta wrote: How can I insert an existing image file into an excel workbook I am generating? I scoured the net but could not file very many useful examples. Darshak

RE: how to determine paragraph numbering using HWPF

2004-07-23 Thread Tim Forbis
Stan, I've been reading many files with POI recently. In each paragraph property class, there is a variable called "iLvl". This is a byte between 0 and 9 inclusive. 9 is the default that represents a normal paragraph. The other numbers show the depth of the outline. For example, 0 is a mai

RE: Where are the HWPF classes?

2004-07-23 Thread Tim Forbis
This version of HWPF is no where as complete or in depth as the HSSF. For example, if you have been reading the user list, there is no support for fields. But I've been working with it for about a month and a half now. I built it using j2sdk1.3 which came with my debugger package. In order t

RE: Where are the HWPF classes?

2004-07-23 Thread gdeschen
Thanks Tim. Well I have a couple of questions. I have looked at the HSSF in detailed and assumed the same for HWPF. It is my fault for not looking into the details of HWPF. The user is expecting to have both formats in the next release of the application. The HWPF will be used to create a very s

How to find the position in word document using HWPF

2004-07-23 Thread Srinivas Rao
Hi Friends, Thank you for helping regularly. I am using POI in my application .I am able to read/write the data from Word Document.And also using the Templates(ie Word Document formats) in my application.. Now my problem is I need to create a template in word and then fill the documen