[Cartoweb-users] more than a page into pdf et al.

giuseppe.derossi at email.it giuseppe.derossi at email.it
Tue Apr 18 08:10:56 EDT 2006

Hi Alexander,
Just last night,I've build up an hell solution of my problem: I've added a
littel chunk of code in exportPdf client, which looks for "text_block*"
where * could be 1 2 3... when it finds for example text_block1, adds
another page by directly usin the addnewpage method, on the other side, when
my plugin returns a text query, it share that text in some blocks according
to the page lenght and re-writes the .ini of exportPdf. So when I want to
print the results the exportpdf plugin reads the new .ini and writes the
whole document.
It's a bit static: managing the changing text and the steady text of a
predefined form is a nightmare, but for the moment I hope, it is enough.

Yes the "inNewPage" parameter is ok only for the legend now.

	--------- Original Message --------
	Da: Alexandre Saunier <alexandre.saunier at camptocamp.com>
	        Cc: cartoweb-users at lists.maptools.org
	Oggetto: Re: [Cartoweb-users] more than a page into pdf et al.
	Data: 18/04/06 12:39
> Giuseppe,
> i had a quick look at the plugin code and it seems that support for 
> inNewPage is not complete (OK only for legend?). Oops! I've added a bug 
> report about that issue:
> http://bugzilla.maptools.org/show_bug.cgi?id=1430
> AS
> giuseppe.derossi at email.it wrote:
> >  I've tested a new template by modifying by hand  the exportPdf.ini, the
> > inNewPage parameter seems not to work :
> > Now, Is It possible to get three pages filled by the map in the first 
> > two different texts in the second and third pages only by configuring
> > exportPdf.ini file? How can I use the inNewPage parameter ?
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 Hai dei virus sul tuo PC ma non sai come eliminarli? Allora impara subito
come rimuovere ogni tipo di virus
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5057&d=20060418

More information about the Cartoweb-users mailing list