Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Online document viewer component

Dmitri Livotov
1 decade ago Feb 27, 2010 3:24pm

Today we here ( in Russia ) have a working day, so I'll threat this as a community Saturday, not Friday :)

If anyone interested - here is a preview of one new feature from upcoming 1.1.0 version of the Toolkit Productivity Tools package - an online document viewer.

It is capable to display very large PDF documents online without any acrobat plugin and of course, without downloading the source DPF file. Was tested fine with a 1.5 GB, 1000 pages 300 dpi scanned book.

The component in it's current version is baed on a Vaadin Table component and does not use any custom client-side widgets.

You can take a look at the demo here - http://demo.stor-m.ru/tpt-demo , go to "Online Document Viewer" tab (most right one). It displays the TPT's manual as default but you're free to upload your own pdf files as well. Please do not upload gigabyte files, however, as we have a limited bandwidth on this server.

The component is pure pdf renderer, so it dows not have any UI buttons for zoom,etc... it is left to component user, but I'll add a demo toolbar into the demo in the release version of TPT.

For now component displays the PDF files in a Google's book reader manner, but to release version there shoud be another two viewe modes - dual page and thumbnails.

So, hope you'll like this. Any ideas/bugs/wisges/etc are welcome as usual :)

Joonas Lehtinen
1 decade ago Feb 27, 2010 5:14pm
Dmitri Livotov
1 decade ago Feb 27, 2010 6:57pm
Jouni Koivuviita
1 decade ago Feb 27, 2010 10:33pm
Hugo Hanisch
9 years ago Jun 20, 2012 3:21pm
Pan Evan
6 years ago Jan 20, 2016 4:24am