Trask, Dennis wrote:
However, the default page size seems to be "A4", and I need "letter". The
only way I have found to change this (besides changing the iTextSerializer)
is by altering the serializer definition in the root sitemap to include a
page-size attribute. However, with this solution, I cannot produce different
page sizes within a single deployment of Cocoon.

You can define multiple serializers, e.g. ...iText/A4 and ...iText/letter. Of course this means you need different pipelines or at least matches for different paper sizes.

I noticed that the sitemap in the iText samples directory tries to pass
page-size and page-orientation parameters to the serializer, but these
parameters seem to be ineffective.
Is there a better solution that I have missed?

Hm. Fixing the issues with the sitemap parameters? :-)


J.Pietschmann


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to