xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Create a multi page pdf using Batik
Date Mon, 22 Aug 2011 09:16:02 GMT
Hi Dayana,
no, I'm afraid it's not. There is some support in the underlying
PDFDocumentGraphics2D to create multiple pages
(PDFDocumentGraphics2d.nextPage()). But multi-page output is currently
not supported by the design of Batik's transcoders.

You could try to adapt code from PDFTranscoder (the PDF transcoder is
located in FOP, not Batik!) to try to implement painting on multiple
pages:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/

But it's probably easier if you just create one PDF for the whole SVG
and then take it apart with some PDF post-processor that supports tiling
a PDF (if that's what you want to do). I'm sure you'll find something on
the net.


On 22.08.2011 07:07:54 Dayana wrote:
> Hi,
> 
> How is it possible to create multiple page pdf using batik PDFTranscoder?
> 
> My SVG file is very big and I wish to convert it to multiple pages in pdf to
> print it across mutiple pages
> 
> Any advice would be highly  appreciated.
> 
> Thanks,
> Dayana
> 
> --
> View this message in context: http://batik.2283329.n4.nabble.com/Create-a-multi-page-pdf-using-Batik-tp3759367p3759367.html
> Sent from the Batik - Users mailing list archive at Nabble.com.
> 



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message