OpenLayers.Control.PDFPrint

Inherits From

  • <OpenLayers.Control>
Summary
OpenLayers.Control.PDFPrint
Properties
formPanel{Ext.Panel} The form panel saved so it can be recalled
map{OpenLayers.Map} The map object to be called
oldwindow{Ext.Window} The window saved so it can be recalled
selectedTemplate{Object} The currently selected template
templates{Object array} The array containing all templates
type{String} The type of <OpenLayers.Control> -- When added to a <Control.Panel>, ‘type’ is used by the panel to determine how to handle our events.
Functions
generatePDFGenerate the PDF with the specified template
initializeFormInitialize the form with the corresponding fields
stringifyTransform JSON in string
triggerOpen the window.

Properties

formPanel

{Ext.Panel} The form panel saved so it can be recalled

map

{OpenLayers.Map} The map object to be called

oldwindow

{Ext.Window} The window saved so it can be recalled

selectedTemplate

{Object} The currently selected template

templates

{Object array} The array containing all templates

type

{String} The type of <OpenLayers.Control> -- When added to a <Control.Panel>, ‘type’ is used by the panel to determine how to handle our events.

Functions

generatePDF

generatePDF: function(button,
e)

Generate the PDF with the specified template

initializeForm

initializeForm: function(template,
node)

Initialize the form with the corresponding fields

stringify

stringify: function(json)

Transform JSON in string

trigger

trigger: function(template)

Open the window.

generatePDF: function(button,
e)
Generate the PDF with the specified template
initializeForm: function(template,
node)
Initialize the form with the corresponding fields
stringify: function(json)
Transform JSON in string
trigger: function(template)
Open the window.
Close