Opened 15 years ago

Closed 15 years ago

#20 closed enhancement (fixed)

new PDFPrint widget

Reported by: jmcgrath Owned by: jmcgrath
Priority: major Milestone: First milestone
Component: widgets Version: 0.7
Keywords: print, pdf Cc:

Description

Add a new widget calling the mapfish print servlet generating a PDF file with the current layers visible.

  • Multiple template available for the PDF
  • Custom form for each template

The servlet and the templates must be already installed.

Attachments (2)

pdfprint_patch.patch (175.1 KB ) - added by jmcgrath 15 years ago.
First working version on bdga sample
pdfprint.diff (53.8 KB ) - added by jmcgrath 15 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by jmcgrath, 15 years ago

Status: newassigned

by jmcgrath, 15 years ago

Attachment: pdfprint_patch.patch added

First working version on bdga sample

comment:2 by yvesm, 15 years ago

See also http://trac.osgeo.org/geoprisma/ticket/5

Especially look at the ongoing development by AHocevar on a GeoExt print widget : http://www.geoext.org/pipermail/dev/2009-December/000440.html. This will probably make its way in the GeoExt ux svn soon.

comment:3 by yvesm, 15 years ago

Good first pass James ! I've successfully set it up on a test machine. Next step is to bring the widget at par with either what MapFish does :

Or what the GeoExt print widget will allow to do, e.g.

The GeoExt implementation allows vector layers to be printed too (http://trac.geoext.org/changeset/1536).

comment:4 by yvesm, 15 years ago

Milestone: First milestone

by jmcgrath, 15 years ago

Attachment: pdfprint.diff added

comment:5 by jmcgrath, 15 years ago

Here's a patch with a complete independent sample ready for review. The .po files are included for fr_CA and en_US.

See included file (pdfprint.diff)

comment:6 by adube, 15 years ago

Resolution: fixed
Status: assignedclosed

r777 - First version commited with a sample working on the MapFish server (the one hosted by MapFish).

Fixed and closed.

Note: See TracTickets for help on using tickets.