On Wed, Oct 14, 2009 at 12:46 PM, sonu kumar <[email protected]> wrote:
> hi
> Today i received a mail ,containing a pdf as an attachment.
> I mistakenly click on  "view " buttton. it take me to the Google doc
> reader,where i saw my whole pdf as it is in a very pleasing manner.
> Initially, Google doc follow a simple method for viewing user pdf file. It
> convert pdf to html and then displayed it. But as such all the images wipe
> out of the page.
> But now Google has changed there normal online doc reader to a exciting one.
> I really wanna know the login behind it.
> how one can display pdf file on the net??
> How to create a online document reader??
> One option is to convert pdf to  .swf  >> heavy file. Not good for large pdf
> files.
> second is to convert pdf to html >> loss of image.

== Server Side
* Use pdf2html tool and then transmit html ()
* Convert pdf to images and then transmit ( http://vuzit.com/ use vyzit APIs )
* Use flash (Slideshare) (Worst possible option) (not at all recommended)

== Client Side
* not suggested but It may be possible to read pdf as base64 string
and then parse to display it online.

As, Open Document format as full xml formats , It is very much
possible to parse xml of office documents and then display it in
browser.  Two possibilities of rendering.
** XSLT transformations of office xml
** JS parsing and then display
reading about XSL-FO is suggested


@Mozilla
I suggest for native implementation of odt/odp viewing in browser. itself

--~--~---------~--~----~------------~-------~--~----~
Do you have another question? Click here - 
http://groups.google.com/group/iitdlug/post
Read archive - http://www.mail-archive.com/[email protected]/
l...@iitd community mailing list -- http://groups.google.com/group/iitdlug
-~----------~----~----~----~------~----~------~--~---

Reply via email to