For My Project I need to integrate with PDFTron .
In http://www.pdftron.com/pdfnet/samplecode.html#PDFView They given
sample codes for all other languages except Ruby in view.
Even though I understand editing and text extraction all but first of
all I want to display Pdf file to edit in browser.
Some one who used PDFNet SDK in their Ruby On Rails project can give
Idea and sample code
or any gem or plugin available for RoR ?
Regards
G.subbarao
subbarao.kly@gmail.com
Q: In my Ruby on Rails Project I want to use PDF NET Sdk
my application includes below function related to pdftron
1)upload Pdf File
2)Display Pdf File(pdftron::PDF::PDFViewCtrl)
3) select Specific area to remove (Annotation functionality)
4)extract meta data of pdf file
5)pdf Text Extraction functionality
In above for Annotation functionality I need to use pdftron::PDF::PDFViewCtrl but I am not find any sample code for that .
A: Please see the previous thread for more info. SilverDox (a.k.a. PDFTron WebViewer) can display PDF, XPS, Office and other formats. It also supports text selection, search, vector graphics, bookmarks & metadata, and built-in annotation support.
The WebViewer (for HTML5/Flash/Silverlight) works with XOD files (for more info please see https://groups.google.com/d/topic/silverdox/_rvQVSHQjSc/discussion).
To generate or stream XOD you could use PDFNet SDK on your own servers (as shown in SilverDoxConvert/Streaming sample).
In case you would like to offload the conversion part of the SilverDox system, we are about to release a simple to use and inexpensive REST conversion service. For more info, please contact info at pdftron.com.
Q:
Thanks for your suggestions. We have some clarifications displaying Silverdox (.xod file).
- Is silverdox supporting ruby or rails?
- Can you provide us sample JavaScript wrappers?
A: Our WebViewers are client side technologies. As such, any server side technology that renders HTML pages can use the WebViewer. Because Ruby on Rails can also serve HTML pages, our WebViewer can definitely work with Ruby or any server side technology.
You can download a WebViewer re-distributable (that includes pre-compiled HTML5 & Silverlight viewer) using the following link:
http://www.pdftron.com/IDR49Z9-B31B/PDFTronWebViewer.zip
Included in the package are scripts and HTML pages to get you started easily. The package also includes documentation and a small tutorial on how to use our WebViewer (see Readme.html).