Hi,

It looks to be quicker using PdfStamper, than using PdfCopy (i.e. 1h20m 
instead of 2).  It was much easier to migrate the code than I thought, 
however I have one question:

How do I set page labels using PdfStamper, I cannot see a way to do it in 
the documentation, but hope I'm just looking in the wrong place? 

> PdfStamper stamper = new PdfStamper(currentReader, fos);
> stamper.getWriter().setPageLabels(lbls);
> stamper.close();

I saw the above example asking the same question in the forum but no 
answer.  Also I've tried the above and it has no effect.

Thanks in advance.

Jim
 



"Bruno Lowagie (iText)" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
06/07/2007 11:45
Please respond to
Post all your questions about iText here 
<[email protected]>


To
Post all your questions about iText here 
<[email protected]>
cc

Subject
Re: [iText-questions] Speeding up page copy for BIG pdf's






Jim Cornmell wrote:
> There is another process in step 3 which only works with output from 
> pdftk (not written by me I hasten to add, legacy code which relies on 
> the PDF structure produced by pdftk, i.e. it contains a rudimentary 
> parser).  So your suggestion is viable if this produces the same PDF 
> structure, I can always give it a try but if you can give me an 
> indication whether there is a good chance that pdftk uses iText 
PdfStamper.

PdfTk certainly uses PdfStamper in some cases, but I don't
know PdfTk well enough to know in which cases. I also don't
know what you are doing in step 3. So I can't comment on that.
br,
Bruno

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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/


 



***********************************************************************************
This e-mail and attachments are intended for the above name only and may be 
confidential. If they have come to you in error, you must take no action based 
on them, nor must copy or show them to anyone; please reply to this e-mail and 
report the error.
Security warning: Please note that this e-mail has been created in the 
knowledge that the internet is not a one hundred percent secure communication 
medium. We advise that you understand and observe this lack of security when 
e-mailing us.
Virus: Although we have taken steps to ensure that this e-mail and attachments 
are free from any virus, we advise that in keeping with good practice the 
recipient should ensure they are actually virus free.  If you have received 
this e-mail in error please notify:
[EMAIL PROTECTED]



This message has been scanned for viruses by MailControl - www.mailcontrol.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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/

Reply via email to