I have some document of .doc and .pdf file and my requirement is to read a particular page from the .doc or .pdf file which i will provide at the run time .This can be possible by reading page by page and at the end of each page if i do numbering .but some i am getting some document where numbering is not their so how can i do that?
is their any api or any other logic so that i can fixed this problem?
hello all i have .DOC file but i am not supposed to read entire file instead i am given a page number. therefore i got to read only that particular page from the doc file. I am using apache.poi api.
file = new File("c://doc/assignment/afternoon_24.doc");
FileInputStream fis=new FileInputStream(file.getAbsolutePath());
i need to read the page X of this file and write to a text file?