The Document2Flash plugin allows to make a document browsable on-line, through a "book-like" look and feel. Currently, only PDF documents are supported.
User manual
You can insert a link allowing to view a PDF document which is located in the resources explorer, or send a PDF document from your computer. To do this, when editing a rich text field, open the "Interactive PDF" menu and select one of the two available options: "Local PDF file" or "Shared PDF file".
interactive-menu-en.png
The first option, "Local PDF file", opens the "content attachments" dialog box. You can upload a PDF file located on your computer, or select one of the existing content attachments.
attachments-en.png
The second option, "Shared PDF file", opens a dialog box showing the PDF files contained in the resources explorer. Select the PDF file you want to make available.
shared-pdf-en.png
The result in the content is a link to the selected PDF document.
content-view-en.png
When the user clicks on this link, the book-like interface opens in a new tab or window.
pageflip-singlepage-en.png
The controls available in the book interface are:
Browsing the document by either making a flipping motion (dragging the page end toward the other end), clicking on the left, right, first page and last page arrows, or going directly to a given page by entering its number.
Switching between ideal size (adapted to the screen) and original size by clicking respectively on the magnifying glass and "1:1" icons.
Integrator manual
Customization
The document browsing interface can be customized in a skin by overriding the following files:
pages/flashpageflip/book.xsl: this file controls the browsing interface's HTML structure, including references to CSS and JS files.
pages/flashpageflip/pages.xsl: this file generates the page list with some parameters.
pages/flashpageflip/lang.xsl: this file contains all the string literals used in by the magazine interface.
The overriding files can be placed in the same locations as when overriding a service, that is: skins/MYSKIN/services/document2flash/pages/flashpageflip/pages.xsl
Here is a sample of a stylesheet overriding pages.xsl in the skin, changing the colors:
Oops !
Copy to clipboard failed. Open the code and copy it manually.