mapfish. widgets. print. MultiPage

Automatically takes the layers from the given {OpenLayers.Map} instance.

If you put this panel directly inside an {Ext.TabPanel} or an accordion, it will activate/desactivate automaticaly.  But if you have more complex layouts like windows or print panel in a panel in an {Ext.TabPanel}, it’s your responsability to call enable() and disable().

Inherits from

Summary
mapfish. widgets. print. MultiPageAutomatically takes the layers from the given {OpenLayers.Map} instance.
Constructor
mapfish. widgets. print. MultiPage
Properties
formConfig{Object} The configuration options passed to the form that edits the options common to every pages.
columns{Array} The Additionnal columns for “per page” custom fields.
zoomToExtentEnabled{Boolean} If true, the map will try to always show the selected page’s extent by zooming out if necessary.
Functions
fillSpecAdd the page definitions and set the other parameters.

Constructor

mapfish. widgets. print. MultiPage

Parameters

config{Object} Config object

Properties

formConfig

{Object} The configuration options passed to the form that edits the options common to every pages.

Can contain additional items for custom fields.  Their values will be passed to the print service

columns

{Array} The Additionnal columns for “per page” custom fields.

zoomToExtentEnabled

{Boolean} If true, the map will try to always show the selected page’s extent by zooming out if necessary.

Functions

fillSpec

fillSpec: function(printCommand)

Add the page definitions and set the other parameters.

This method can be overriden to customise the spec sent to the printer.  Don’t forget to call the parent implementation.

Parameters

printCommand{mapfish.PrintProtocol} The print definition to fill.
Instances of OpenLayers.Map are interactive maps embedded in a web page.
fillSpec: function(printCommand)
Add the page definitions and set the other parameters.
Base class for the Ext panels used to communicate with the print module, automatically take the layers from the given {OpenLayers.Map} instance.
Class to communicate with the print module.
Close