Re: [iText-questions] Superimposing / Minor aberrations

2010-02-03 Thread Jan-Hendrik Lendholt
Hi there and, at first, thanks a lot for your replies! I changed the format of the result pdf file to exactly match the size of the template but the result remains the same. The template seems to get shrinked a little bit. The aberrations are pretty big, though. Printed out, the Logo text starts 0

Re: [iText-questions] Cpn

2010-02-03 Thread Raja Mohammed
Hi, How can I convert PDF file to .tif format file. Does iText support this feature? Please help. Thanks & Regards, Raja Mohammed. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with

[iText-questions] Empty Signature field in PDF

2010-02-03 Thread Pardha1
Hello Friends, I have any issue while implementing empty signature in PDF. I search this forum and found the same code what i used as part of the solution. The below lines of code is working good to create a empty signature. When i tried to sign the document by clicking on this, it is producting

Re: [iText-questions] Does not get an image from a servelt

2010-02-03 Thread 1T3XT info
Donald Jayawardena wrote: > Thanks for your solution. Once the main servlet(riskmap) called image servlet > (createjpg), createjpg writes to a log file after it generating the image. I > can see riskmap call to createjpg is working fine. But the virtual image does > not come to the parent servle

Re: [iText-questions] Does not get an image from a servelt

2010-02-03 Thread Donald Jayawardena
Thanks for your solution. Once the main servlet(riskmap) called image servlet (createjpg), createjpg writes to a log file after it generating the image. I can see riskmap call to createjpg is working fine. But the virtual image does not come to the parent servlet(riskmap). The parent (riskmap)

Re: [iText-questions] illegal operation 'q' inside a text object

2010-02-03 Thread 1T3XT info
AVULA HARISH wrote: > sorry for that... actually i dont know what that code is, The code was taken from the PDF you've sent to the list. > and how we > should read it. we use itextsharp to generate pdf's. so i am new to this > pdf stuff... i still dont know how to fix it, but as per your inputs

Re: [iText-questions] Does not get an image from a servelt

2010-02-03 Thread Mike Marchywka
I thnk it would help if you could get a stack trace from an exception that involves itext. User some toher utility to verify that the url you have is valid etc. Develop some debug strategy for your servlets that catches everything and logs to a file somewhere. I think when you posted this earlie

[iText-questions] Does not get an image from a servelt

2010-02-03 Thread Donald Jayawardena
Hi, I am trying to create a pdf doc with images. In order to do this, I created two servlets: 1. First servlet (riskmap) generates the pdf and html documents. 2. Some imgaes for the pdf and html documents are coming from anothe servlet (createjpg). Riskmap servlet generates html and pdf pages

[iText-questions] Patch to fix Windows SMB file transfer issue

2010-02-03 Thread Markus Meyer
Hi, when writing large chunks of data over UNC paths (SMB shares) on Windows it may happen that an errnous exception ("insufficient system ressources") is thrown. Actually, the problem seems to be that the underlying Windows subsystem fails when one uses OutputStream#write() on buffers larger

Re: [iText-questions] XFA XmlDigSig signature.

2010-02-03 Thread Leonard Rosenthol
I believe we already went over this...I find a LOT of issues here...I don't know what your code is doing, but it's NOT GOOD. 1) You are turning the XFA from multiple streams into a single stream. While not technically wrong, it's a bad thing. 2) I can't find a valid signature field anywhere i

Re: [iText-questions] illegal operation 'q' inside a text object

2010-02-03 Thread AVULA HARISH
sorry for that... actually i dont know what that code is, and how we should read it. we use itextsharp to generate pdf's. so i am new to this pdf stuff... i still dont know how to fix it, but as per your inputs, i will try to solve this. thanks Harish On Wed, Feb 3, 2010 at 12:42 PM, 1T3XT i

[iText-questions] XFA XmlDigSig signature.

2010-02-03 Thread christian.leclerc
Hello guy's, A lot of post was done before on how to sign an XFA form with itext. I've try a lot of things to make it work and im still stuck with this problems. !! I want to sign all the pdf content for the moment and after maybe sign only a few things in the document but im not there yet. At

Re: [iText-questions] Differences between Java and .NET implementationsof iText

2010-02-03 Thread Paulo Soares
It should be the same. Please post the code and the resulting PDFs. Paulo - Original Message - From: "Adam Mork" To: Sent: Wednesday, February 03, 2010 5:21 PM Subject: [iText-questions] Differences between Java and .NET implementationsof iText Hi, For some reason I am sending the

[iText-questions] Differences between Java and .NET implementations of iText

2010-02-03 Thread Adam Mork
Hi, For some reason I am sending the same lines to be drawn in the .NET and the Java version of iText, and the output comes out slightly different. One is to the right of the other by a few twips. Has anyone encountered this before ? -Adam M.

Re: [iText-questions] illegal operation 'q' inside a text object

2010-02-03 Thread 1T3XT info
AVULA HARISH wrote: > Hi Leonard, > > Unfortunbately i still have the issue. I am generating a new PDF and > writing data into it. I've attached the file. > > Can you please let me know what may be the problem. What is there to explain, you KNOW what the problem is. You're explaining it yours

Re: [iText-questions] Superimposing / Minor aberrations

2010-02-03 Thread 1T3XT info
Jan-Hendrik Lendholt wrote: > If I just print the file template.pdf, it looks good. If I superimpose it, > it is a bit smaller, meaning, that the word "LOGO" starts a bit underneath > the original one and the footer ends a bit too early. > For your convinience, the transitions and the scale is prin

Re: [iText-questions] Superimposing / Minor aberrations

2010-02-03 Thread 1T3XT info
Jan-Hendrik Lendholt wrote: > Hi there, > > I played araound any further but wasnt able to get this managed. Add the following lines to your code before addTemplate(): System.out.println(mark_scale); System.out.println(h_trans); System.out.println(v_trans); You'll see that, although template.pdf

Re: [iText-questions] Question regarding usage rights after importing data into XFA

2010-02-03 Thread Leonard Rosenthol
Yeah, that form has a bunch of special requirements that need to be handled as part of the filling process. It is NOT designed to just have the XML "swapped out" as you are trying to do. You will need to study the XFA specification and then apply that knowledge to parsing the XFA in that PDF a

Re: [iText-questions] Superimposing / Minor aberrations

2010-02-03 Thread Jan-Hendrik Lendholt
Hi there, I played araound any further but wasnt able to get this managed. I couldn't find any accurances of the mentioned transformation matrix as well. I created a small test case with my templates in it. Just needs to be imported into eclipse and started with one parameter being the file tha

Re: [iText-questions] importRtfDocument(Unknown Source)

2010-02-03 Thread raghav_m
I guess it makes sense to try to use the latest version of iText. And as for the minority of ungrateful users, it has to do with the understanding of the philosophy of open source software. One can be competent enough only to use an Api whilst the other will be able to modify it an/or contribute

Re: [iText-questions] How to write arabic charcters as Joint characters & Right to left format even if it comes along with english word

2010-02-03 Thread 1T3XT info
Raja Mohammed wrote: > Hi, > > 1. Thanks a Lot for your valuable help. I was struggling on R&D for 3 > days with this issue. Finally you solved my problems. Thanks to iText > for quick response. > 2. But the another issue is, if it exceeds the cell limit the English > characters & Arabic characte

Re: [iText-questions] How to write arabic charcters as Joint characters & Right to left format even if it comes along with english word

2010-02-03 Thread Raja Mohammed
Hi, 1. Thanks a Lot for your valuable help. I was struggling on R&D for 3 days with this issue. Finally you solved my problems. Thanks to iText for quick response. 2. But the another issue is, if it exceeds the cell limit the English characters & Arabic characters are printing in collapse order.

[iText-questions] iText 5.0.1 for Maven

2010-02-03 Thread Bruno Lowagie
I've made a bundle for Maven of iText 5.0.1. http://itextpdf.com/maven/itextpdf-5.0.1-bundle.jar http://itextpdf.com/maven/pom.xml I don't use Maven myself, but I'd like to ask people who need iText in iBiblio to do the necessary to get it there. If something is missing from the bundle, let me k

[iText-questions] iText 5.0.1 has been released

2010-02-03 Thread Bruno Lowagie
Hello all, I've finished the first 12 chapters of the 2nd edition of "iText in Action" (about 420 pages). These chapters will soon be available in the MEAP version: http://www.manning.com/affiliate/idevaffiliate.php?id=223_212 You can download the source code of the examples of these chapters h

Re: [iText-questions] get image into pdf

2010-02-03 Thread 1T3XT info
Mike Marchywka wrote: > I don't know what all you are doing or where you are testing > but is localhost changing at any time? That's a very good question. If NetBeans works more or less the same way as Eclipse does, you start up an instance of Tomcat on the localhost [1]; but there might be some d

Re: [iText-questions] Embedding zapfdingbats font for bulleted list

2010-02-03 Thread 1T3XT info
Phil Newman wrote: > Yes I do have the PFB in the same folder. OK, I was just checking. Passing the encoding "" should be OK. ZapfDingbats normally has one built-in encoding. What happens if you use the Font object, and use it to create a Paragraph with something like "quick brown fox jumps over

Re: [iText-questions] get image into pdf

2010-02-03 Thread Mike Marchywka
> Date: Wed, 3 Feb 2010 09:12:10 +0100 > From: i...@1t3xt.info > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] get image into pdf > > Donald Jayawardena wrote: >> >> Hi, >> >> I bought iText in Action but could not find the an

Re: [iText-questions] Embedding zapfdingbats font for bulleted list

2010-02-03 Thread Phil Newman
Yes I do have the PFB in the same folder. Phil 1T3XT info wrote: > > > Do you have the file ZD__.PFB in the same folder as ZD__.PFM? > -- > This answer is provided by 1T3XT BVBA > http://www.1t3xt.com/ - http://www.1t3xt.info > > -

Re: [iText-questions] Embedding zapfdingbats font for bulleted list

2010-02-03 Thread 1T3XT info
Phil Newman wrote: > I want to embed the ZAPF font so changed the code to the following: > > Dim BFZ As BaseFont = BaseFont.CreateFont(Server.MapPath(fontFolder + > "ZD__.PFM"), "", BaseFont.EMBEDDED) > Dim ZDfont As Font = New Font(BFZ, 4, Font.NORMAL, > iTextSharp.text.Color.BLACK) > Dim out

Re: [iText-questions] How to write arabic charcters as Joint characters & Right to left format even if it comes along with english word

2010-02-03 Thread 1T3XT info
Raja Mohammed wrote: > Hi, > 1 . I am receiving Arabic characters along with English characters( or > numbers ) in a single word of string from webservice. But while writing > into PDF using iText it is writing characters only from left to right. I > am writing in Cell of PdfPTable object. If

[iText-questions] How to write arabic charcters as Joint characters & Right to left format even if it comes along with english word

2010-02-03 Thread Raja Mohammed
Hi, 1 . I am receiving Arabic characters along with English characters( or numbers ) in a single word of string from webservice. But while writing into PDF using iText it is writing characters only from left to right. I am writing in Cell of PdfPTable object. If English, It should be Left to

[iText-questions] Embedding zapfdingbats font for bulleted list

2010-02-03 Thread Phil Newman
Hi all. I have been successfully outputting a bulleted list using character 108 and an unembedded font: Dim outputList As ZapfDingbatsList = New ZapfDingbatsList(108, 10) outputList.Symbol.Font = FontFactory.GetFont(FontFactory.ZAPFDINGBATS, 4, Font.NORMAL, iTextSharp.text.Color.BLACK) I want to

Re: [iText-questions] Check if PDF contains only embedded fonts

2010-02-03 Thread Paulo Soares
I had this code around, it may help. Paulo > -Original Message- > From: 1T3XT info [mailto:i...@1t3xt.info] > Sent: Wednesday, February 03, 2010 9:50 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Check if PDF contains only > embedded fonts > > Roed

Re: [iText-questions] Check if PDF contains only embedded fonts

2010-02-03 Thread 1T3XT info
Roeder, Andreas wrote: > Hello, > > Is it possible to check with iText if a PDF contains only embedded fonts? > > If so, how can I do that? You've already posted the question on January 29. I've saved it because I wanted to make an example on how to do this, but I didn't find the time yet. Plea

Re: [iText-questions] Nested Table Background Overflowing

2010-02-03 Thread 1T3XT info
Don wrote: > Note, in creating this sample case, it found out > that the problem is caused by setting no-wrap on the nested table cell. If > you comment out this line, it seems to work fine. Thanks for the feedback. This code snippet is interesting for further reference. -- This answer is prov

[iText-questions] Check if PDF contains only embedded fonts

2010-02-03 Thread Roeder, Andreas
Hello, Is it possible to check with iText if a PDF contains only embedded fonts? If so, how can I do that? Thank you very much in advance! Best Regards, Andreas -- The Planet: dedicated and managed hosting, clo

[iText-questions] Check if PDF contains only embedded fonts

2010-02-03 Thread Roeder, Andreas
Hello, Is it possible to check with iText if a PDF contains only embedded fonts? If so, how can I do that? Thank you very much in advance! Best Regards, Andreas -- The Planet: dedicated and managed hosting, clo

Re: [iText-questions] Adding Cover Page and Header/Footer to Existing PDF

2010-02-03 Thread gdg
public void addPages(String inputURL, String outputURL) throws IOException, DocumentException { // 待加水印的文件 PdfReader reader = new PdfReader(inputURL); // 加完水印的文件 PdfStamper stamper = new PdfStamper(reader, new

Re: [iText-questions] get image into pdf

2010-02-03 Thread 1T3XT info
Donald Jayawardena wrote: > > Hi, > > I bought iText in Action but could not find the answer there. And the answer won't be in the second edition either, because getting an image in a Servlet is not an iText related problem. > My problem is pdf documnet is trying to receive an image from a serv

[iText-questions] get image into pdf

2010-02-03 Thread Donald Jayawardena
Hi, I bought iText in Action but could not find the answer there. My problem is pdf documnet is trying to receive an image from a servlet, but it receives null. The netBeans (with Tomcat) gives the following error: SEVERE: -->> returning Frame NULL SEVERE: BaseDialog: owner frame is a java.awt.