File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes to view multiple pages of a file or document Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "to view multiple pages of a file or document" Watch "to view multiple pages of a file or document" New topic
Author

to view multiple pages of a file or document

shyamkumar bopannachengalaiah
Ranch Hand

Joined: Dec 30, 2008
Posts: 100
I am developing a project of Learning management system where in presentation layer i need to view all pages of a file or document say a pdf file that contains chapters and each chapter contains some number of pages.so to view those pages in a frame ,by clicking next button and also previous button.i need code or design for the above.

the project is like online tutorial.i want to retrieve the document or file of extension .pdf,.doc,.rtf etc and view that pages of that document in a frame when the chapter button clicked.

so kindly help me .

my application page contains 5 frames where if i click the chapter name .i had to get the topics under chapter.when the topics are clicked i have to view their pages in first frame in that same frame next and previous button should be available and if i click next button i should show next page,like that it should go on.

for each page viewed their corresponding images , audio,video files should be shown in other four frames .say image frame,video frame,audio frame.

so kindly help me in this application.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
The biggest difficulty I see is how to chop up documents into their individual pages. How that's done depends on the formats you need to support. With PDF it's relatively easy (the iText library has a built-in tool that can do that). DOC and RTF, on the other hand, have no indication which contents goes on which page.

Learning systems generally aren't based on document types like the ones you mention. Rather there's a structured knowledge base in plain text or XML files (or, more likely these days, in a CMS).


Ping & DNS - updated with new look and Ping home screen widget
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: to view multiple pages of a file or document
 
Similar Threads
doubt in transfering value using script
i need design and coding for pagination
doubt in transfering a vidoe file
Image in a Applet.
frame problem