The split_pdf code is very old and it won't work that well with pages
rotated 270 or 180 degrees. Use PdfCopy and as a bonus you'll also keep
existing links and comments in the split pages.
Paulo
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of George Pitcher
> Sent: Monday, October 08, 2007 10:52 AM
> To: [email protected]
> Subject: [iText-questions] Pages rotating without command
>
> Hi,
>
> I've been using itext for about 4 years now, to add covers to
> pdf files.
> About 2 years ago I built a routine that allowed my users to
> upload a file
> (with a previously added cover) and for the server to remove the cover
> (java -cp itext.jar com.lowagie.tools.split_pdf $filename_c $cover
> $filename_temp 2) using PHP. The server then added a newly
> built pdf cover
> to the split file.
>
> Recently, the new file has generated the pages rotated by
> 180degrees, except
> for the cover, which makes me think that its the split that
> is causing the
> problem.
>
> Are you aware of this, and if so, any ideas as to how I can solve the
> problem?
>
> I'd settle for being able to analyse the rotation of a
> document at some
> stage before adding the cover, and then being able to rotate
> if necessary.
>
> Hope you can help.
>
> Cheers
>
> George
>
> ===
>
> George Pitcher
> HERON Technical Manager
>
> Heron, a division of Ingenta, Unipart House, Garsington Road,
> Oxford OX4 2GQ
> T +44 (0)131 476 9570 direct
> T +44 (0)1865 397851 direct
> F +44 (0)1865 397801
> E [EMAIL PROTECTED]
>
> www.heron.ingenta.com
>
> Ingenta is a division of Publishing Technology plc, which is
> registered in
> England No. 837205. Registered Office: Unipart House, Garsington Road,
> Oxford OX4 2GQ.
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/