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.
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).