Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-04-01 Thread 1T3XT info
Billy Anachronism wrote: > When I run this I get a blank pdf with 1 page. > If I comment out pdf.SelectPages("2") I get a pdf with 2 pages and > content on both (snip) > PdfReader reader = new PdfReader("test.pdf"); > PdfStamper stamper = new PdfStamper(reader,new > FileOutputStream("testout.pdf")

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-03-22 Thread Billy Anachronism
1T3XT wrote: > I don't have the time to look at your code. > If it were Java, I'd try running it, but I'm not going to translate > your example to Java on my own time. This is an easier example: When I run this I get a blank pdf with 1 page. If I comment out pdf.SelectPages("2") I get a pdf with

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-03-22 Thread Billy Anachronism
1T3XT wrote: Because I think you didn't understand what I was saying, here's an example I made: http://1t3xt.be/?X000421 Original PDF: http://1t3xt.info/examples/resources/questions/pdfs/photo_album.pdf New PDF: http:

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-03-20 Thread 1T3XT info
Billy Anachronism wrote: > I dont' think i want to run with this because a) the content will > still be in the bottom left corner of the page. I want flexibility > where i add the text: bottom left, bottom centre, bottom right, top > left, top centre, top right. So, to add the text to the bottom of

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-03-20 Thread 1T3XT info
Billy Anachronism wrote: > I dont' think i want to run with this because a) the content will > still be in the bottom left corner of the page. I'm not sure if I understand this. If you make the lly component in the Mediabox negative (lower the lower left Y-coordinate), then you create extra space

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-03-19 Thread Billy Anachronism
Thanks for all the tips! 1T3XT wrote: Yes, option 2 was what I meant. You can increase the page size. It's done more or less like this: http://1t3xt.be/?X0003df But instead of the PdfName.CROPBOX, you change t

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-03-19 Thread 1T3XT info
Billy Anachronism wrote: > Sorry I just realised that you probably meant INCREASE the size of the > mediabox, rather than decrease it. > Yes, option 2 was what I meant. You can increase the page size. It's done

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-03-18 Thread Billy Anachronism
Sorry I just realised that you probably meant INCREASE the size of the mediabox, rather than decrease it. I was thinking decrease because I've been focussed on adding new content to the page. Another alternative is mentioned by Leo on this thread:

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-03-18 Thread Billy Anachronism
1T3XT info wrote: > I believe I answered this question before, saying you could change the > Mediabox / Cropbox. Wouldn't that make everything much easier? I didn't see your answer in my question thread. Doesn't changing the mediabox and cropbox just change the bounds of the visible page, rather

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-03-18 Thread 1T3XT info
Billy Anachronism wrote: > I need to create a new page and get a > template of the source page so I can resize and reposition it on the > new page. I believe I answered this question before, saying you could change the Mediabox / Cropbox. Wouldn't that make everything much easier? > When I remov

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-03-17 Thread Billy Anachronism
I'm actually still interested in a solution to this because my workaround is creating significant unnecessary overhead. I'll try to explain the problem again: 1) I want to stamp a particular page (I'm going to call this the source page) of a document with a piece of text in the bottom right hand

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-02-19 Thread 1T3XT info
Billy Anachronism wrote: > I'm currently using a work-around to pdfstamp the document, then > re-open it and select the pages. This works but seems unnecessarily > inefficient I didn't understand the problem (I still don't after reading the original mail), but I'm happy to see that you've found a

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-02-17 Thread Billy Anachronism
I'm currently using a work-around to pdfstamp the document, then re-open it and select the pages. This works but seems unnecessarily inefficient On Wed, Feb 18, 2009 at 10:42 AM, Billy Anachronism wrote: > To give a little more information about what I'm doing: > > I was originally using pdfwrite

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-02-17 Thread Billy Anachronism
To give a little more information about what I'm doing: I was originally using pdfwriter to create a new pdf the same as the original but with resized pages and some text underneath. This turned out not to be the best option for me because I wanted to retain the rotation of the pdf pages but use o

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-02-17 Thread billy anachronism
can anyone help? Sorry if the answer is trivial -- View this message in context: http://www.nabble.com/pdfimportedpages-content-disappears-when-using-selectpages-tp22048089p22068356.html Sent from the iText - General mailing list archive at Nabble.com.