HI Tim, Thank you very much for replay to me .I said Top left,top right means i have to insert the date or some word like Tim Fordis.....like that, some of the names. My aim is to insert the name or some of the text in the word document at a particular position.This is my template.....like that
[MEDICAL DATA REMOVED AS PER HIPAA] Above format is template.I have fill the template at run time with pre-arguments(like date or name in above XXXXXX formates). I am able to insert the data to word documetn .But I don't know how to determine the position in a word document and insert into particualar position....... Please help me .... Once again thank you for replay to me.. Thanks Srinivas Tim Forbis <[EMAIL PROTECTED]> wrote: Hi Srinivas, I am also new to POI, but I have worked exclusively with HWPF, so I might be able to help a little bit. I have currently only worked with reading a Word file, but from the classes it appears writing is in the same format. What specifically do you mean by "Top left, top right, and bottom right position"? Are we speaking of position on the main document page, or in headers and footers? Thanks, Tim Forbis -----Original Message----- From: Srinivas [mailto:[EMAIL PROTECTED] Sent: Saturday, July 24, 2004 12:42 AM To: POI Users List Subject: How to determine the position in word document using HWPF 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 document at run time.And i will insert the Pre-defined arguments at run time at a particular position(top left,top right and bottom right positions).But i am not able to get the particular position in the Word Document. Please help me How to find the particular position in the word document??? Thank you for your help. Srinivas --------------------------------- Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers!
