-
Notifications
You must be signed in to change notification settings - Fork 0
Feolius/flexpaper
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The Flexpaper module provides the formatter for File field which is used for showing pdf files using Devaldi FlexPaper pdf reader. - http://flexpaper.devaldi.com ----------------------------------------------------------------------------- VERSION INFO ----------------------------------------------------------------------------- Currently this module use only free Flexpaper 2.1.2 version. So, all pdfs are shown only in flash mode. In this mode Flexpaper take the swf file(s) generated from the pdf. Flexpaper module provides generating of swf files using pdf2swf converter which is part of Swftools utilities collection (see the installation guide). Document can be loaded in two ways: as one swf file per whole pdf file and as one swf file per the document page (see formatter settings). To provide correct way to search the text in the split mode, Flexpaper takes json file generated by pdf2json tool (see the installation guide). ----------------------------------------------------------------------------- REQUIREMENTS ----------------------------------------------------------------------------- 1. Swftools should be installed on your server, and pdf2swf tool should be available by command line. 2. To provide correct way to search the text in the split mode your server should also have pdf2json tool installed and available by command line. 3. Your server should support exec() and shell_exec() to run pdf2swf and pdf2json commands. ----------------------------------------------------------------------------- LIMITATIONS ----------------------------------------------------------------------------- As was previously said, current Flexpaper version supports only flash mode, there is no html and html5 modes. Also, all features of Adaptive UI is not available for this version. So, it is not possible to change how the viewer look like. But despite of it, Flexpaper support json files here. ----------------------------------------------------------------------------- INSTALLATION ----------------------------------------------------------------------------- 1. Install Swftools. See how to do it here http://wiki.swftools.org/wiki/Installation. 2. (Not necessary, but strongly recommended). Install pdf2json tool. See http://code.google.com/p/pdf2json. 3. Install and enable Libraries API module. https://drupal.org/project/libraries 4. Copy flexpaper folder from the current Flexpaper module folder to the libraries folder. 5. Enable Flexpaper module. 6. Check admin/config/flexpaper and set proper paths to pdf2swf and pdf2json tools. 7. (Optional) Check permissions page to allow users to generate SWF files on first node view.
About
Drupal flexpaper formatter for a file field.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published