Yes. I got the latest vesions from CVS. I'll try using other Word Docs
inputs for this test!
If it dosen't work I'll send you the Word documents!
In the scratchpad section, in the hwpf directory only one file has diff
(HWPFDocument.java)

Thanks!

> -----Original Message-----
> From: Ryan Ackley [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, April 08, 2004 5:55 PM
> To: POI Users List
> Subject: Example
> 
> 
> 
> 
> 
>  Did you get the latest from CVS? If so you must please 
> attach the document to a bugzilla issue. Otherwise, I can't help you!
> 
> -Ryan
> 
> > ----- Original Message -----
> > From: "Alexandru, Ionita" <[EMAIL PROTECTED]>
> > To: "'POI Users List'" <[EMAIL PROTECTED]>; 
> "'Ryan Ackley'"
> > <[EMAIL PROTECTED]>
> > Sent: Thursday, April 08, 2004 10:37 AM
> > Subject: RE: Example
> >
> >
> > > I've tried again, but the same problem occurred, and the 
> > > manifestation was the same... I don't know if the code is realy 
> > > correct.
> > >
> > > Thanks again!
> > >
> > > > -----Original Message-----
> > > > From: Ryan Ackley [mailto:[EMAIL PROTECTED]
> > > > Sent: Thursday, April 08, 2004 3:52 PM
> > > > To: POI Users List
> > > > Subject: Re: Example
> > > >
> > > >
> > > > I fixed this problem please try again
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Alexandru, Ionita" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, April 07, 2004 11:41 AM
> > > > Subject: Example
> > > >
> > > >
> > > > > can someone tell me where can I find some read/write word 
> > > > > documents samples?
> > > > >
> > > > > I have to insert some text in a word document, after 
> a specified 
> > > > > sequence of known text. I've tried some code, but, the
> > > > final word doc
> > > > > was corrupted
> > > > >
> > > > >
> > > > >
> > > > 
> ==================================================================
> > > > ====
> > > > > ==
> > > > > ======
> > > > >
> > > > > public static void main(String[] args){
> > > > > try
> > > > > {
> > > > > HWPFDocument doc = new HWPFDocument (new FileInputStream 
> > > > > (args[0])); Range r = doc.getRange();
> > > > >
> > > > > r.insertAfter("this is the text that I wanna insert"); 
> > > > > OutputStream out = new FileOutputStream(args[1]); 
> > > > > doc.write(out);
> > > > >
> > > > > out.flush();
> > > > > out.close();
> > > > > }
> > > > > catch (Throwable t){
> > > > > t.printStackTrace();
> > > > > }
> > > > > }
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > 
> ==================================================================
> > > > ====
> > > > > ==
> > > > > =========
> > > > >
> > > > >
> > > > >
> > > > >
> > > > 
> ------------------------------------------------------------------
> > > > ---
> > > > > 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]
> > > >
> > > >
> > >
> > >
> >
> 
> 
> ---------------------------------------------------------------------
> 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