poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandru, Ionita" <galexan...@cstdev.cst.ro>
Subject RE: Example
Date Thu, 08 Apr 2004 14:54:52 GMT
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:sackley@cfl.rr.com] 
> 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" <galexandru@mail.cst.ro>
> > To: "'POI Users List'" <poi-user@jakarta.apache.org>; 
> "'Ryan Ackley'"
> > <sackley@apache.org>
> > 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:sackley@cfl.rr.com]
> > > > 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" <galexandru@mail.cst.ro>
> > > > To: <poi-user@jakarta.apache.org>
> > > > 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: 
> poi-user-unsubscribe@jakarta.apache.org
> > > > > For additional commands, e-mail: 
> > > > > poi-user-help@jakarta.apache.org
> > > > >
> > > >
> > > > 
> ------------------------------------------------------------------
> > > > ---
> > > > To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: 
> poi-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> > >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org


Mime
View raw message