my dog learned polymorphism*
The moose likes Java in General and the fly likes Copy first page of multiple word docs into a single word doc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Copy first page of multiple word docs into a single word doc " Watch "Copy first page of multiple word docs into a single word doc " New topic
Author

Copy first page of multiple word docs into a single word doc

Praveen Sharma
Ranch Hand

Joined: Jul 31, 2008
Posts: 129
I have multiples word document files in a directory.I want to copy first page of each doc and paste in single word document. Is it possible to do that in java?


SCJP 80% SCWCD 89%
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19679
    
  18

Unfortunately, Word documents are still very obscure. There are only a handful (at most) libraries that really can handle them. I'd check the OpenOffice.org API, as they have made the most progress on reading and writing MS Word files.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
Consider Paul's rocket mass heater.
 
subject: Copy first page of multiple word docs into a single word doc