Re: [iText-questions] iText xmlhelper

2013-04-22 Thread 1T3XT BVBA
On 22/04/2013 22:01, Ty Davis wrote: > Hello, > > Is the xmlhelper for itext able to create PDF's from the browser and not > a html file stored on disk. XML Worker is not an URL2PDF tool if that's what you mean. Another possible interpretation: can XML Worker create PDF from any input stream (e.g

Re: [iText-questions] "Too many open files" error running iText 5.4.1 on Linux

2013-04-22 Thread 1T3XT BVBA
On 23/04/2013 0:39, tacal...@insb.uscourts.gov wrote: Over the weekend, I swapped out the itextpdf-5.3.5.jar with itextpdf-5.4.1.jar. The application ran fine for a little while before generating an error in catalina.out as shown below. I restarted Tomcat, and it worked for a little bit and f

[iText-questions] "Too many open files" error running iText 5.4.1 on Linux

2013-04-22 Thread tacallah
Over the weekend, I swapped out the itextpdf-5.3.5.jar with itextpdf-5.4.1.jar. The application ran fine for a little while before generating an error in catalina.out as shown below. I restarted Tomcat, and it worked for a little bit and failed with the same error. After putting back itextpd

[iText-questions] iText xmlhelper

2013-04-22 Thread Ty Davis
Hello, Is the xmlhelper for itext able to create PDF's from the browser and not a html file stored on disk. Does someone have an example. Thank You, Ty Davis -- Precog is a next-generation analytics platform capable

[iText-questions] IText table column automatic size

2013-04-22 Thread antonio vivalda
Good morning, We are working with IText PDF table *PdfPTable*. We’d like to know if there is the possibility to instruct IText to automatically size the width of the columns of the table based on the cell content, like happens in HTML table object. Thank you in advance Antonio Vivalda

[iText-questions] [SPAM] Re: Merge PDF File release

2013-04-22 Thread mkl
todd.patterson, todd.patterson wrote > here is the new code that releases the pdf files I had to add reader.close > () Hhmmm, you now open and close the PdfReader for each individual page of each PDF. For each file to import, you had better 1. create a PdfReader for the current source file 2. im

[iText-questions] [SPAM] Re: Merge PDF File release

2013-04-22 Thread mkl
todd.patterson, todd.patterson wrote > I have changed the code to the following I am now using pdfCopy. I still > have the same error stating I can not delete the original pdf files > because they are in use. If you read my original comment once again you'll see that you reacted to my remark that

Re: [iText-questions] Merge PDF File release

2013-04-22 Thread todd . patterson
Gerold,Sorry you are correct here is the new code that releases the pdf filesI had to add reader.close () Thank You have a great day.Todd    Private Sub BuildMultiPagePDF(ByVal fileArray As String(), ByVal outPutPDF As String)        Try            Dim reader As iTextSharp.text.pdf.PdfReader = Noth

Re: [iText-questions] Merge PDF File release

2013-04-22 Thread todd . patterson
Gerold,Thank you for your response.Unfortunately that did not fix the issue. I know sometimes you look at things so long the simplest issue can be unseen.Is there a close all command maybe?Todd-Gerold Krommer wrote: -To: Post all your questions about iText hereFrom: Gerold Krommer

Re: [iText-questions] Adding & retrieve custom properties to PDF using XMP

2013-04-22 Thread iText Info
Op 22/04/2013 12:17, Deepti Banana schreef: > Is there any example or documentation with respect to implementing Custom > schema? http://partners.adobe.com/public/developer/en/xmp/sdk/XMPspecification.pdf -- Precog is a

Re: [iText-questions] Merge PDF File release

2013-04-22 Thread Gerold Krommer
I’m by no means a good programmer (and know zilch about C#) and I read this list to learn more about PDF and iText issues/usages but it seems to my humble mind (not fishing for compliments here BTW) that you open many files within the while loop (pdfDoc.Open()) but close them only once outside t

[iText-questions] Merge PDF File release

2013-04-22 Thread todd . patterson
Thank You for the quick response.I have changed the code to the followingI am now using pdfCopy.I still have the same error stating I can not delete the original pdf files because they are in use.Any help would be greatly appreciated. Thanks,Todd  Private Sub BuildMultiPagePDF(ByVal fileArray As St

Re: [iText-questions] Adding & retrieve custom properties to PDF using XMP

2013-04-22 Thread Deepti Banana
Is there any example or documentation with respect to implementing Custom schema?? Though I implemented the below and it works, I would like to know if this is the correct way. What are the variables serialVersionUID, DEFAULT_XPATH_ID and DEFAULT_XPATH_URI?? Are the values that I have substitute

Re: [iText-questions] Adding & retrieve custom properties to PDF using XMP

2013-04-22 Thread iText Info
Op 22/04/2013 11:21, Deepti Banana schreef: > But the custom property added using the below methods are shown in the Custom > Tab of Document properties. > > 1) addHeader method of com.itextpdf.text.Document class > document.addHeader("CUSTOM", "CUSTOM"); > > 2) setMoreInfo method of com.

Re: [iText-questions] Adding & retrieve custom properties to PDF using XMP

2013-04-22 Thread Deepti Banana
But the custom property added using the below methods are shown in the Custom Tab of Document properties. 1) addHeader method of com.itextpdf.text.Document class document.addHeader("CUSTOM", "CUSTOM"); 2) setMoreInfo method of com.itextpdf.text.pdf.PdfStamper. PdfStamper stamper

Re: [iText-questions] Adding & retrieve custom properties to PDF using XMP

2013-04-22 Thread iText Info
Op 22/04/2013 11:10, Deepti Banana schreef: > Now I have learnt that, properties added through XmpSchema do not reflect in > Document properties. Aha, OK, so that was the basic misunderstanding. It's normal that custom properties aren't shown in Document properties. Also: in PDF 2.0, the Info dict

[iText-questions] Fwd: New Tab features

2013-04-22 Thread John Renfrew
That will do fine for now... Many thanks. John Sent while on the move Begin forwarded message: > From: iText Info > Date: 22 April 2013 10:01:41 CEST > To: Post all your questions about iText here > > Subject: Re: [iText-questions] New Tab features > Reply-To: Post all your questions about i

Re: [iText-questions] Adding & retrieve custom properties to PDF using XMP

2013-04-22 Thread Deepti Banana
Yes, its working.!!!... I didn't know that, to add custom properties using Xmp, I had to create my own custom schema. (I got to know through this forum) Secondly, as there was no example that I could refer to, I wasn't sure about the correctness of my custom implementation. That's the reason I ke

Re: [iText-questions] Adding & retrieve custom properties to PDF using XMP

2013-04-22 Thread iText Info
Op 22/04/2013 10:31, Deepti Banana schreef: > Code mentioned by you is exactly what I tried. Please find the generated pdf > file attached. Yes, and it works perfectly, so why do you keep on asking about this??? If you look at the XMP metadata, you can clearly see that your custom TEST metadata

Re: [iText-questions] Adding & retrieve custom properties to PDF using XMP

2013-04-22 Thread Deepti Banana
Code mentioned by you is exactly what I tried. Please find the generated pdf file attached. LEGAL NOTICE: Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this e-mail by anyone else is unauthorized. If you

Re: [iText-questions] Bad method AppendToDocument ?

2013-04-22 Thread iText Info
Op 21/04/2013 9:22, Paweł schreef: > Why does this code work bad? I don't know. Show us some PDFs. Also: I never use PdfConcatenate, I always use PdfCopy or PdfSmartCopy. Furthermore: the selectPages() construction doesn't seem to make sense in your example. --

Re: [iText-questions] Adding & retrieve custom properties to PDF using XMP

2013-04-22 Thread iText Info
Op 22/04/2013 10:04, Deepti Banana schreef: > Yes, I have created the instance of CustomSchema object and added to xmp > schema as below > > CustomSchema mySchema=new CustomSchema(); > mySchema.addLabelId("TEST"); > xmp.addRdfDescription(mySchema); I'd expect a code sn

Re: [iText-questions] Adding & retrieve custom properties to PDF using XMP

2013-04-22 Thread Deepti Banana
Yes, I have created the instance of CustomSchema object and added to xmp schema as below CustomSchema mySchema=new CustomSchema(); mySchema.addLabelId("TEST"); xmp.addRdfDescription(mySchema); Regards, Deepti LEGAL NOTICE: Unless expressly stated otherwise, this message

Re: [iText-questions] New Tab features

2013-04-22 Thread iText Info
Op 20/04/2013 17:24, john renfrew schreef: > Just read the change log for 5.4.1 which indicates there is significantly > increased functionality to Tabs now. > > Is there any helpful documentation or updated examples to start learning > from?? We always suffer from the same problem: the people wi

Re: [iText-questions] Adding & retrieve custom properties to PDF using XMP

2013-04-22 Thread iText Info
Op 22/04/2013 6:36, Deepti Banana schreef: > How can I know, if this property has been set? Where do you set the property? Maybe you create an instance of the CustomSchema object, but we don't see your code adding this schema to the XMP. --

Re: [iText-questions] Trouble with HelloWorldCompression Java program

2013-04-22 Thread iText Info
Op 21/04/2013 3:37, Edward Zuris schreef: This is my first encounter with HSQLDB. What about the example to test if HSQLDB is configured correctly: http://itextpdf.com/examples/iia.php?id=13 Does that example work? It doesn't involve iText in any way. It just performs a query on the database

Re: [iText-questions] Adding & retrieve custom properties to PDF using XMP

2013-04-22 Thread Deepti Banana
We are using iText to generate our Pdfs. Now the requirement is to add custom properties to this PDF. Also, a xml file needs to be generated with these properties. As you suggested, I tried implementing the customSchema(not sure if this implementation is right) as shown below public class Cust

[iText-questions] Bad method AppendToDocument ?

2013-04-22 Thread Paweł
Hi Why does this code work bad? Instead, connect the two documents first cut on one side? In addition, if the document to be added to the original is only one page that nothing happens? Thank you for your reply, best regards, Paul private void AppendToDocument(string sourcePdfPath1, string

[iText-questions] New Tab features

2013-04-22 Thread john renfrew
Just read the change log for 5.4.1 which indicates there is significantly increased functionality to Tabs now. Is there any helpful documentation or updated examples to start learning from?? Thanks John -- Precog is a n