DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: PDF Viewer

Author:Steffen Kamper
Created:2006-03-08T12:45:49
Changed by:Steffen Kamper
Changed:2007-02-03T01:18:43
Email:info@sk-typo3.de

EXT: PDF Viewer

Extension Key: sk_pdfviewer

Copyright 2000-2002, Steffen Kamper, <info@sk-typo3.de>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.com

Table of Contents

EXT: PDF Viewer 1

Introduction 1

What does it do? 1

Requirements 1

Screenshots 2

Users manual 4

Adminstration 4

Configuration 4

Known problems 5

To-Do list 5

Changelog 5

Introduction

What does it do?

This Extension displays any PDF Document and allows the user to browse through the pages. The pages are rendered as picture.

You can walk through the PDF Document by clicking on previous / next buttons. To jump to a specific page enter pagenumber and click on previous or next button.

Requirements

To use this plugin, make sure your server has Ghostscript installed. You can check this in Install tool / Image processing / Reading image formats. If it is proper installed, you should see this picture:

img-1

For Windows, just install GraphicsMagick and Ghostscript for Windows.

Screenshots

img-2

img-3 Users manual

  • install extension from TER
  • Insert the plugin on a page and fill out the parameters.
  • You can copy the HTML template and change it for your needs

Adminstration

Basic settings are configured with Typoscript, special configuration is done by filling out the flexform.

Configuration

_CSS_DEFAULT_STYLE

Property

_CSS_DEFAULT_STYLE

Data type

string

Description

Default CSS-styles

templateFile

Property

templateFile

Data type

string

Description

Locates the Templatefile

pdf_file

Property

pdf_file

Data type

string

Description

filepath + filename of PDF document

format

Property

format

Data type

string

Description

Select gif, jpg or png for picture format output

title

Property

title

Data type

string

Description

Title of PDF document

width

Property

width

Data type

int

Description

Width of output picture

height

Property

height

Data type

int

Description

Height of output picture

pages

Property

pages

Data type

int

Description

Count of pages

startpage

Property

startpage

Data type

int

Description

Start with page (for select a range)

endpage

Property

endpage

Data type

int

Description

End with page (for select a range)

Titletag

Property

Titletag

Data type

string

Description

Titletag of output picture

alttag

Property

alttag

Data type

string

Description

Alttag of output picture

addparams

Property

addparams

Data type

string

Description

Additional parameter of output picture (e.g. class=”pdf-picture”)

IMparams

Property

IMparams

Data type

string

Description

Additional IM-Parameter like sharpen, etc.

link2doc

Property

link2doc

Data type

boolean

Description

If set, the picture is linked to the pdf document

Known problems

To-Do list

Changelog

  • 0.0.1 First Release
  • 0.0.2 corrected image path, little enhancements

img-4 EXT: PDF Viewer - 5