Re: [iText-questions] removing header and footer from each page of an existing pdf

2008-07-30 Thread 1T3XT info
Archana Ranginani wrote: > How did you generate > clippedpages.pdf? That looks perfectly normal. As I said: the code can be found here: http://1t3xt.info/examples/browse/?page=example&id=415 That URL was in my previous answer. That's what was said earlier on the list: people should read document

Re: [iText-questions] removing header and footer from each page of an existing pdf

2008-07-30 Thread 1T3XT info
Archana Ranginani wrote: > Adding a CROPBOX to PdfDictionary is working, although the pdf looks > skewed while viewing it on screen. I'm sorry, but I really dislike people who get perfectly good advice, and then say that the advice is worthless without any proof. I can PROVE that the PDF IS NOT

Re: [iText-questions] removing header and footer from each page of an existing pdf

2008-07-30 Thread Archana Ranginani
PROTECTED]> Subject: Re: [iText-questions] removing header and footer from each page of an existing pdf To: "Post all your questions about iText here" Date: Tuesday, July 29, 2008, 11:53 PM Ranginani, Archana wrote: > I need to remove the header and footer from each page of an existing

Re: [iText-questions] removing header and footer from each page of an existing pdf

2008-07-29 Thread 1T3XT info
Ranginani, Archana wrote: > I need to remove the header and footer from each page of an existing pdf > file? How can this be done? Do you need to remove it from the file? (That's difficult.) Or do you need to hide it from the screen/printer? (That's easy.) > I tried to set the reduce the boundin

[iText-questions] removing header and footer from each page of an existing pdf

2008-07-29 Thread Ranginani, Archana
I need to remove the header and footer from each page of an existing pdf file? How can this be done? I tried to set the reduce the boundingBox of the imported page but that doesn't work int n = reader.getNumberOfPages(); PdfImportedPage page; for (int i = 0; i < n; ) {

[iText-questions] removing header and footer from each page of an existing pdf

2008-07-29 Thread Archana Ranginani
I need to remove the header and footer from each page of an existing pdf file? How can this be done? I tried to reduce the boundingBox of the imported page but that doesn’t work   int n = reader.getNumberOfPages(); PdfImportedPage page; Rectangle newBounds = bounds.rectangle(bounds.getTop()-40,