This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

to view multiple pages of a file or document

 
shyamkumar bopannachengalaiah
Ranch Hand
Posts: 100
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic