Re: [iText-questions] PDF merge - filesize after

2012-06-20 Thread Nick Bannister
anybody else experienced the same issue? I am using version 5.2.1 (the latest as far as i can tell). Date: Wed, 20 Jun 2012 09:32:37 -0400 From: jb...@purduefed.com To: itext-questions@lists.sourceforge.net; i...@1t3xt.info Subject: Re: [iText-questions] PDF merge - filesize after I’m a java guy, but

Re: [iText-questions] PDF merge - filesize after

2012-06-20 Thread Jason Berk
[bytes or a stream] MergePdfs(// an array of PDFs); and let the caller deal with the output? From: Nick Bannister [mailto:bannister.n...@hotmail.com] Sent: Wednesday, June 20, 2012 3:59 AM To: itext-questions@lists.sourceforge.net; i...@1t3xt.info Subject: Re: [iText-questions] PDF merge

Re: [iText-questions] PDF merge - filesize after

2012-06-19 Thread 1T3XT BVBA
On 19/06/2012 21:21, Nick Bannister wrote: > Ok I use pdf copy and loop through each page of both pdf one and two and add > to a third before close the pdf copy object to write the pdf Using PdfCopy instead of PdfSmartCopy could be the culprit. Although you shouldn't ever have a situation where fi

Re: [iText-questions] PDF merge - filesize after

2012-06-19 Thread Nick Bannister
Ok ill post example code and PDFs tomorrow cheers Sent from my BlackBerry® wireless device -Original Message- From: Jason Berk Date: Tue, 19 Jun 2012 19:28:16 To: ; Subject: Re: [iText-questions] PDF merge - filesize after You need to post your code if you want any actual help

Re: [iText-questions] PDF merge - filesize after

2012-06-19 Thread Jason Berk
1T3XT BVBA ; itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] PDF merge - filesize after I understand ... Ok I use pdf copy and loop through each page of both pdf one and two and add to a third before close the pdf copy object to write the pdf The pdf created is fine to vie

Re: [iText-questions] PDF merge - filesize after

2012-06-19 Thread Nick Bannister
size. Sent from my BlackBerry® wireless device -Original Message- From: 1T3XT BVBA Date: Tue, 19 Jun 2012 16:54:58 To: Subject: Re: [iText-questions] PDF merge - filesize after On 19/06/2012 18:36, Nick Bannister wrote: > or is that not a smart a*se enough answer? Sniff, sniff,...

Re: [iText-questions] PDF merge - filesize after

2012-06-19 Thread 1T3XT BVBA
On 19/06/2012 18:36, Nick Bannister wrote: > or is that not a smart a*se enough answer? Sniff, sniff,... Nope, I can't smell if you're using PdfSmartCopy (which would be the smart thing to do), PdfCopy (not so smart copying) or PdfWriter (but why on earth would you use PdfWriter for merging docu

Re: [iText-questions] PDF merge - filesize after

2012-06-19 Thread Nick Bannister
was aiming to get initial thoughts before posting anything in case it is a common issue. Date: Tue, 19 Jun 2012 16:25:34 +0200 From: i...@1t3xt.info To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] PDF merge - filesize after On 19/06/2012 15:52, Nick

Re: [iText-questions] PDF merge - filesize after

2012-06-19 Thread 1T3XT BVBA
On 19/06/2012 15:52, Nick Bannister wrote: Hi, I have used ITextSharp to merge two PDFs and the output PDF is almost twice the size it should be? One PDF is around 200KB the other is 40KB and the merged PDF is around 480KB I followed the example online with no success, I am still getting PDFs

[iText-questions] PDF merge - filesize after

2012-06-19 Thread Nick Bannister
Hi, I have used ITextSharp to merge two PDFs and the output PDF is almost twice the size it should be?One PDF is around 200KB the other is 40KB and the merged PDF is around 480KBI followed the example online with no success, I am still getting PDFs that jump up in filesize. Is there a soluti

Re: [iText-questions] PDF merge with XfaForms

2011-04-20 Thread Mark Storer
Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; > -Original Message- > From: koolsanjeev [mailto:koolsanj...@gmail.com] > Sent: Tuesday, April 19, 2011 7:29 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions]

Re: [iText-questions] PDF merge with XfaForms

2011-04-19 Thread koolsanjeev
Hi, The two files are containing the conflicting field names e.g. FIRTNAME on Page1 in PDF1 is same as FIRSTNAME on Page1 in PDF2. By removing/changing the conflicting names you should be able to merge the files successfully. for example change the FIRSTNAME to FIRSTNAME1 or PDF2_FIRSTNAME in PD

Re: [iText-questions] PDF merge with XfaForms

2011-04-18 Thread 1T3XT BVBA
Op 18/04/2011 19:36, grv1984 schreef: > Hi all, > > I know this question has already been answered here but still, since I am > new to itext, I'd like to have a go. You're asking for something that isn't supported. > I have two any pdfs, in the form of byte array, filled using XFA approach > (Xfa

[iText-questions] PDF merge with XfaForms

2011-04-18 Thread grv1984
Hi all, I know this question has already been answered here but still, since I am new to itext, I'd like to have a go. I have two any pdfs, in the form of byte array, filled using XFA approach (XfaForm, rather than AcroForm), stored in the database. Filling up the PDF is working fine, no problem

[iText-questions] pdf merge spacing issue

2010-06-09 Thread rathana
Hi All, Any help is greatly appreciated. I am trying to use itext using the code sample presented in http://viralpatel.net/blogs/2009/06/itext-tutorial-merge-split-pdf-files-using-itext-jar.html. It does merge the files. Only problem is, there is extra space at the top of every page(in the mer

Re: [iText-questions] pdf merge spacing issue

2010-06-09 Thread 1T3XT info
rathana wrote: > Hi All, > > Any help is greatly appreciated. > > I am trying to use itext using the code sample presented in > http://viralpatel.net/blogs/2009/06/itext-tutorial-merge-split-pdf-files-using- > itext-jar.html. That's not an official example. > It does merge the files. Only

[iText-questions] pdf merge spacing issue

2010-06-09 Thread rathana
Hi All, Any help is greatly appreciated. I am trying to use itext using the code sample presented in http://viralpatel.net/blogs/2009/06/itext-tutorial-merge-split-pdf-files-using- itext-jar.html. It does merge the files. Only problem is, there is extra space at the top of every page(in th

Re: [iText-questions] PDF Merge - Output to screen, not File, CFSCRIPT

2009-10-30 Thread Leigh
sarasotatim, I am not sure about your setup. But the example in that page is essentially doing the same thing as a call to cfcontent, using the "variable" attribute to serve up binary data. PdfCopy will accept any kind of OutputStream. So you could substitute a ByteArrayOutputStream for your

Re: [iText-questions] PDF Merge - Output to screen, not File, CFSCRIPT

2009-10-29 Thread sarasotatim
Yes, I've seen that page and tried, but my setup is a bit different, can't seem to figure out how to piece it together... You might be able to adapt the information at the following link to Cold Fusion. I certainly don't know enough about CF to help on that front. -- View this message in co

Re: [iText-questions] PDF Merge - Output to screen, not File, CFSCRIPT

2009-10-28 Thread Mark Storer
f std::Disclaimer DisCard; > -Original Message- > From: sarasotatim [mailto:timgilbre...@comcast.net] > Sent: Tuesday, October 27, 2009 1:48 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] PDF Merge - Output to screen, not File, > CFSCRIPT >

[iText-questions] PDF Merge - Output to screen, not File, CFSCRIPT

2009-10-28 Thread sarasotatim
Hey guys, I saw an entry or two online about this particular need, but no easily-understandable solutions. Here's what I have: I've used Cold Fusion's CFPDF to take an AJAX/CF form and create a PDFI now need to merge that PDF with a few other pre-existing interactive PDF's (which is why I ha

Re: [iText-questions] PDF merge with some fields still editable

2009-10-23 Thread luy
ame name they will have the same value and that is to be expected. What's > generally done is to rename the fields, by adding a _1 for the first pdf > _2 for the second and so on for example. You can do it with > AcroFields.renameField(). > > Paulo > >> -Original M

Re: [iText-questions] PDF merge with some fields still editable

2009-10-23 Thread Paulo Soares
with AcroFields.renameField(). Paulo > -Original Message- > From: luy [mailto:em...@encs.concordia.ca] > Sent: Friday, October 23, 2009 2:19 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] PDF merge with some fields > still editable

Re: [iText-questions] PDF merge with some fields still editable

2009-10-23 Thread luy
Hi Mark, Mark Storer-2 wrote: > > Little Known Fact: All the fields in a PDF form with the same name HAVE > THE SAME VALUE. If two different forms have a field called "First Name", > the combined PDF will have a single value in those two fields. > I know copy will make field1 let's say in

Re: [iText-questions] PDF merge with some fields still editable

2009-10-23 Thread luy
ulo Soares-3 wrote: > > If you use PdfCopyFields editable fields will still be editable and > flattened fields will still be flattened. > > Paulo > > - Original Message - > From: "luy" > To: > Sent: Thursday, October 22, 2009 9:49 PM > Subj

Re: [iText-questions] PDF merge with some fields still editable

2009-10-22 Thread Mark Storer
typedef std::Disclaimer DisCard; > -Original Message- > From: luy [mailto:em...@encs.concordia.ca] > Sent: Thursday, October 22, 2009 1:50 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] PDF merge with some fields > still editable >

Re: [iText-questions] PDF merge with some fields still editable

2009-10-22 Thread Paulo Soares
If you use PdfCopyFields editable fields will still be editable and flattened fields will still be flattened. Paulo - Original Message - From: "luy" To: Sent: Thursday, October 22, 2009 9:49 PM Subject: Re: [iText-questions] PDF merge with some fields still editable Is i

Re: [iText-questions] PDF merge with some fields still editable

2009-10-22 Thread luy
Is is possible that pdf1, pdf2... pdfN to be merged into pdf_merge.pdf and at the same time, pdf1.editable fields are still editable? It seems that when all pdf files are merged, editable fields are flattened? Each pdf1... pdf2 are pdf files generated with partialFormFlattening Tried many wa

Re: [iText-questions] pdf merge inside a page

2009-07-09 Thread Bruno Lowagie
Paul Stöttinger wrote: > i need page part 1, followed by page part 2 and so on Did you read this FAQ entry: http://1t3xt.be/?X000480 ? Does it answer your question? br, Bruno -- Enter the BlackBerry Developer Challenge

[iText-questions] pdf merge inside a page

2009-07-09 Thread Paul Stöttinger
dear iText team, a question for instance a letter i have got one pdf with the header of the letter which contains the adress, etc. and i have got one pdf with the text in the letter in the book iText in action in chapter 2.3 (createing pdf in multiple passes) is only described to merge pdf

Re: [iText-questions] PDF merge losing multimedia content

2005-09-08 Thread bruno
Caoimhin Barry wrote: Before I add the imported page to the output file, I need to edit the content. How do I get access to the PdfContentByte, make some changes to that and then add it to the output file? Didn't I just answer this one? You have to create your PDF in multiple passes. Take

Re: [iText-questions] PDF merge losing multimedia content

2005-09-08 Thread Caoimhin Barry
Before I add the imported page to the output file, I need to edit the content. How do I get access to the PdfContentByte, make some changes to that and then add it to the output file? --- bruno <[EMAIL PROTECTED]> wrote: > Caoimhin Barry wrote: > > >Thanks, so if I use PdfCopy to import and edi

Re: [iText-questions] PDF merge losing multimedia content

2005-09-08 Thread bruno
Caoimhin Barry wrote: Thanks, so if I use PdfCopy to import and edit a page in the following way (getting at the direct content) would it preserve the annotations? The code you have sent contains errors: PdfCopier=new PdfCopy(document, new FileOutputStream("ouputdoc.pdf")) doesn't make sen

RE: [iText-questions] PDF merge losing multimedia content

2005-09-08 Thread Caoimhin Barry
EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] > On > > Behalf Of Caoimhin Barry > > Sent: Wednesday, September 07, 2005 5:53 PM > > To: itext-questions@lists.sourceforge.net > > Subject: [iText-questions] PDF merge losing > multimedia content > >

RE: [iText-questions] PDF merge losing multimedia content

2005-09-07 Thread Paulo Soares
PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] PDF merge losing multimedia content > > Apologies if this sends more than once - my mails > keep bouncing back. > > Here is the scenario... > > I have a pdf document (A) that contains an &g

[iText-questions] PDF merge losing multimedia content

2005-09-07 Thread Caoimhin Barry
Apologies if this sends more than once - my mails keep bouncing back. Here is the scenario... I have a pdf document (A) that contains an embedded movie file. I want to create a new pdf (B), add some pages of my own and then import pdf A and stamp a page number over it. When I try to do this the

[iText-questions] PDF merge

2003-06-10 Thread Michael Ackmann
I had problems merging several pdf's with your tool. The final merge file would scramble text on srolling. I sent you examples and asked for some help in analyzing the iText resultant pdf. I unfortunately did not receive any help nor did your group seem interested in a problem not yet encountere