9.9 Saving Pages
If you want to enable users to download a file related to the displayed page, the
current section or the entire document, you can enable the save options by setting
the FSI Pages parameter
→ Save to "true".
Enabling Save Options
<Plugins>
...
Plugin src="pages" >
<Save value="true" />
<SaveAllowSavingImages value="true" />
</Plugin>
...
</Plugins>
Without any additional preparation this allows users to download an image of the
left or right page.
9.10 Saving PDF or other document types
In addition to downloading images you might want to enable users to download the
complete source PDF or specific parts of the source PDF documents. This
documentation refers to PDF documents only, but you can also provide other file
types for download.
Downloading the entire PDF Document
Enabling this option is as easy as adding the FSI Pages parameter
Parameters providing the absolute URL to a PDF document to download.
Example:
<SaveDocumentFile value="http://foo.com/somepdf.pdf" />
Downloading single or double pages
In order to enable the user to download a PDF document containing the page
currently viewed in FSI Pages, the XML based data for a page needs to contain the
corresponding URL or file name to that document.
9 FSI Pages Add-on
NeptuneLabs - FSI Viewer
254