Export

PPresenter
Manual
Export

Images
Website

Portable Presenter is a package designed to give presentations. Sometimes, you may want to print the slides to create hand-outs or for corrections. You may also want to convert your presentation into a website. All use of the slide-data for other use than an actual presentation is covered by this export modules.

WARNINGS:

  • These exporters will only work on X11 (Unix) systems because it uses xwd to hardcopy the slides.
  • These exporters will only work if you have Image::Magick installed.
  • The undocumented exporters contain some problems (bugs/misfeatures).

We are open to contributions.  

Exporters
Using
Options

Export Modules

The following exports are currently implemented, have initial coding, or are under study.
PPresenter::Export::Website::HTML
Converts slides and slide-notes into web-pages. Slides can only be converted to images within the HTML pages. In the future, it will also be possible to include the slide information as real HTML.

PPresenter::Export::Images::ImageMagick
Convert all slides into images using Image::Magick. Each slide(view) as one seperate file, in hardly any imaginable format.

PPresenter::Export::PostScript
Convert slides into PostScript using standard Tk. Tk is able to produce real postscript, but only includes text in a character-size which may be close to the size you requested. Images and such are not included.

The results are of such a poor quality that I refuse the documentation of this module to be included.

PPresenter::Export::IM_PostScript
Convert slides into PostScript using Image::Magick, but as images. This produces huge postscript files, and does not work perfectly yet. Apparently some misunderstanding between me and PerlMagick interface.

The results are not acceptable yet, but I promise documentation when this module works well enough.

Exporters can only be used when the presentation is run, because most of them hardcopy the screen.

Using Exporters

Because this functionality is still under development, the use of exporters is a bit more complicated than the other modules.

At first, you have to add exporters to your show:

    $show->addExporter(package-name, options);
You can find the packages in PPresenter/Export/, for instance: 'PPresenter::Export::IM_Images' is a valid package-name.

The other way to introduce an exporter is by creating an instance of subclass of PPresenter::Export yourself, and then have that added:

    use PPresenter::Export::IM_Image;
    my $obj = PPresenter::Export::IM_Image->new(options);
    $show->addExporter($obj, options);

When the presentation is run, and you have added some exporters, you can start them using the background-menu. If there are no exporters, then you will not see the 'export' entry in menu.

General Options

The Dynamic module defines an option -exportPhases which describes whether only the final stage of a slide should be presented, or all, or a selection.

All exporters share the following options.

-viewports => which
Which viewports are selected to be included by default. Possible values for which are:
ALL
All of the visible slides. If you have slidenotes, but not a visisble display of them, you won't get them because they cannot be copied from the screen.
NOTES
Slidenotes, but only if visible on the screen.
SLIDES
Viewports which do not show slidenotes.
name or [ list-of-names ]

-exportSlide = > which
Which slides shall be included. Possible values for which are:
ACTIVE
The currently selected slides. See the slide-control menu to find-out which slides are selected. The default.
CURRENT
Only the currently visible slide.
ALL
All slides, also the not selected slides.

-imageFormat => format
The required output format of images. If you use ImageMagick (and that is the only way to get images on the moment) then you can get nearly all imaginable formats.

You may use the format name in upper- or in lowercase. Common formats are gif (default), jpg, and png.

-imageQuality => percentage
Some image formats can compress better when they leave some information of the image away. The smaller the value you specify here, the more image information is left-out. The number of bytes required to store the image will be smaller, but the quality of the image will suffer.

-imageWidth => pixels
The width the resulting images will have. The images are taken from the screen and resized (with anti-aliasing) to the specified size.

If you do not specify a size, the images will not be resized. The height of the image will be resized with the same factor as the width.

 
Portable Presenter is written and maintained by Mark Overmeer. Copyright (C) 2000-2002, Free Software Foundation FSF.