[Cartoweb-dev] how to display and print info in pdf
Alexandre Saunier
alexandre.saunier at camptocamp.com
Wed Apr 5 14:21:18 EDT 2006
Giuseppe,
you'll probably get a lot of answers in the "PDF Export" chapter of the
manual:
http://cartoweb.org/doc/cw3.2/xhtml/user.pdf.html
especially in the Tutorial > Blocks Configuration section:
http://cartoweb.org/doc/cw3.2/xhtml/user.pdf.html#user.pdf.tutorial.block
Elementary items displayed in the generated PDF file are called "blocks".
The exportPdf plugin comes with predefined blocks: mainmap, scalebar,
title, legend, logo...
Users may create and use blocks of their own as well. Blocks definition
is done in the exportPdf.ini config file (in your project client_conf/
dir). User blocks may be images or texts. Note that the blocks content
may come from the user interface (html form), some PHP code (if you
extended the plugin) or even from external files or database. You may
place those blocks almost wherever you want.
Most of the things to know are detailled in the page linked above.
AS
giuseppe.derossi at email.it wrote:
> Hi,
> I wrote a new plugin to gather data from spatial and no spatial database, so
> I can find and recenter the map on a selected object.
>
> Now I'd like to display and print into pdf, on demand, some info which are
> recalled by my plugin (linked to the selected object). Those info could be a
> complex html page with text, symbols and images (for example a photo of the
> centered building) which I'd like to see under the map; than I want to print
> everything into pdf.
> I'm studying the export and query plugIn but I'm so far from a stright
> solution.
>
> Has this problem already been solved ? Can you suggest a way to display and
> print a text ( first a simple text) ?
>
> Thanks in advantage to everybody.
> Giuseppe
>
> --
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>
> Sponsor:
> Vuoi una ricetta molto interessante per i tuoi risparmi?
> Ti serve Conto Arancio!
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5041&d=20060405
>
>
> _______________________________________________
> Cartoweb-dev mailing list
> Cartoweb-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-dev
More information about the Cartoweb-dev
mailing list