Re: [iText-questions] How to change font encoding in existing PDF

2008-06-02 Thread Paulo Soares
I think that you should first ask dtSearch why they don't support those PDFs. Paulo - Original Message - From: Kathy Lo [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Monday, June 02, 2008 3:00 AM Subject: [iText-questions] How to change font encoding in existing PDF

[iText-questions] creating barcodes and convert to image

2008-06-02 Thread srirangam
how to generate barcodes using itext and conver into images and store it in database using java. Please hel me in this and appreciate, if you send some sample code ASAP. -- View this message in context: http://www.nabble.com/creating-barcodes-and-convert-to-image-tp17593046p17593046.html Sent

[iText-questions] image in cell

2008-06-02 Thread PhilipPeinsold
Hello @ all! I've a problem with creating a formular. I have to put out an image in a PdfCell, and works fine. But I want to scale the image to 15x15 and tried that with scaleAbsoluteWidth and scaleAbsoluteHight, but the size of the image didn't change!!! If I try that with an other image, it

[iText-questions] Page Number not getting diaplayed in Adobe Reader

2008-06-02 Thread Dhvanil
I am new to itext and i am facing issue in displaying page number as 1 of 1. 1 of is getting printed but total number of page is not getting printed. If i open the pdf with PDF Vista its showing but in Adobe Reader its not displaying. If i copy the blank area from pdf and paste it in notepad

Re: [iText-questions] Page Number not getting diaplayed in Adobe Reader

2008-06-02 Thread mister bean
I don't think you'll find a lot of list members who will look through the 1500+ lines of code you posted to solve your problem. Have you looked at the discussion of displaying page count in the book? That would be a good place to start. If you have, and that has not solved your problem, you

Re: [iText-questions] Links doesn't work when concatenating pdfs

2008-06-02 Thread luffy45
Tanks for the answer, but can we add a remote go to in the same file, like local go to. Have a nice day. -- View this message in context: http://www.nabble.com/Links-doesn%27t-work-when-concatenating-pdfs-tp17557087p17595947.html Sent from the iText - General mailing list archive at Nabble.com.

Re: [iText-questions] How to change font encoding in existing PDF

2008-06-02 Thread Kathy Lo
I already checked with dtSearch that their engine can only index Unicode file. And, our system already uses dtSearch engine so we want to change the encoding of PDF instead of changing the engine. On 6/2/08, Paulo Soares [EMAIL PROTECTED] wrote: I think that you should first ask dtSearch why

Re: [iText-questions] How to merge two PDF files with XFA form content?

2008-06-02 Thread Sr. Miguel
Leonard, Is the creation of those packages a manual process and is it only possible to create them using Acrobat? Thank you From: [EMAIL PROTECTED] Date: Fri, 30 May 2008 12:49:02 -0400 To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] How to merge two PDF files with

Re: [iText-questions] How to change font encoding in existing PDF

2008-06-02 Thread Paulo Soares
I don't know what dtSearch means by Unicode file (a latin winansi is not Unicode either) but MSung-Light with UniCNS-UCS2-H encoding fully determines the character position in the Unicode Table. In other words, dtSearch was lazy and didn't implement what they should have. If you're stuck with

Re: [iText-questions] How to change font encoding in existing PDF

2008-06-02 Thread Cam Bazz
Well, this is a very common problem. If the pdf has embedded fonts, many software can not extract the font correctly - especially if the embedded font has custom encoding. I am interested in a solution for changing the font of the pdf document as well, programatically. The only solution I found,

Re: [iText-questions] image in cell

2008-06-02 Thread Alexis Pigeon
Hi Philip, On 02/06/2008, PhilipPeinsold [EMAIL PROTECTED] wrote: Hello @ all! I've a problem with creating a formular. I have to put out an image in a PdfCell, and works fine. But I want to scale the image to 15x15 and tried that with scaleAbsoluteWidth and scaleAbsoluteHight, but the

Re: [iText-questions] creating barcodes and convert to image

2008-06-02 Thread Alexis Pigeon
Hi srirangam, On 02/06/2008, srirangam [EMAIL PROTECTED] wrote: how to generate barcodes using itext and conver into images and store it in database using java. Please hel me in this and appreciate, if you send some sample code ASAP. iText is a library that produces PDF and RTF documents,

Re: [iText-questions] How to merge two PDF files with XFA form content?

2008-06-02 Thread Leonard Rosenthol
On Jun 2, 2008, at 5:23 AM, Sr. Miguel wrote: Is the creation of those packages a manual process and is it only possible to create them using Acrobat? Neither. You can happily create them programmatically with iText and various other tools... Leonard

Re: [iText-questions] How to change font encoding in existing PDF

2008-06-02 Thread Leonard Rosenthol
On Jun 2, 2008, at 4:49 AM, Cam Bazz wrote: Well, this is a very common problem. If the pdf has embedded fonts, many software can not extract the font correctly - especially if the embedded font has custom encoding. Any software that can't extract text with embedded fonts is

Re: [iText-questions] creating barcodes and convert to image

2008-06-02 Thread 1T3XT info
srirangam wrote: how to generate barcodes using itext and conver into images and store it in database using java. Please hel me in this and appreciate, if you send some sample code ASAP. You can create a java.awt.Image instance with the subclasses of Barcode, see the API documentation:

Re: [iText-questions] image in cell

2008-06-02 Thread 1T3XT info
PhilipPeinsold wrote: Hello @ all! I've a problem with creating a formular. I have to put out an image in a PdfCell, and works fine. But I want to scale the image to 15x15 and tried that with scaleAbsoluteWidth and scaleAbsoluteHight, but the size of the image didn't change!!! If I try

Re: [iText-questions] Links doesn't work when concatenating pdfs

2008-06-02 Thread 1T3XT info
luffy45 wrote: Tanks for the answer, Help! Are you going to invade Belgium with tanks? but can we add a remote go to in the same file, like local go to. First you talk about creating a TOC, now you are talking about link annotations. Your question sounds like you think you can't mix a remote

Re: [iText-questions] How to merge two PDF files with XFA form content?

2008-06-02 Thread 1T3XT info
Leonard Rosenthol wrote: On Jun 2, 2008, at 5:23 AM, Sr. Miguel wrote: Is the creation of those packages a manual process and is it only possible to create them using Acrobat? Neither. You can happily create them programmatically with iText and various other tools... As

Re: [iText-questions] Different fonts in single string

2008-06-02 Thread 1T3XT info
meeger wrote: How do I solve this? An example would be much appreciated. Try pparagraph/p tags. -- This answer is provided by 1T3XT BVBA - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R)

Re: [iText-questions] image in cell

2008-06-02 Thread PhilipPeinsold
I've found what I made wrong. I tried to make cell.setImage(img); and then the picture doesn't scale! Now I make it like this, and that works fine: Image checkbox = Image.getInstance(D:/Projekt USB/checkbox.GIF); checkbox.scaleToFit(10, 10); cell = new PdfPCell(checkbox, false);

Re: [iText-questions] Page numbers right aligned

2008-06-02 Thread Dhvanil
Can anybody provide with a sample code for creating a template showing page 1 of 10 that is shown at the right top corner of the pdf. Because i am also facing the similar issue. Any help will be greatly appreciated Birthe Berland-2 wrote: I have used a template to display the page number

Re: [iText-questions] how to position each chunk to precise coordinates

2008-06-02 Thread Iliadis Yannis
Sorry if my reply hasn't anything to do with your issue, but I've seen this behavior of overlapping characters by open PDF's, that are created with later versions of Acrobat, in Acrobat Viewer version 4. 2008/5/30 Cam Bazz [EMAIL PROTECTED]: Hello, What I need to do is to define a point to

Re: [iText-questions] Links doesn't work when concatenating pdfs

2008-06-02 Thread luffy45
Sorry, I wanted to say Thanks. So, my problem is that i generate a report, and in the same a toc which later will be added to the report. But in the toc i want to have links linked to the report. And when the two files are separated the remote go to works but when these files are attached, the

Re: [iText-questions] Page numbers right aligned

2008-06-02 Thread 1T3XT info
Dhvanil wrote: Can anybody provide with a sample code for creating a template showing page 1 of 10 that is shown at the right top corner of the pdf. Because i am also facing the similar issue. Any help will be greatly appreciated It was explained that creating a template when you need to

[iText-questions] Method InputStreamToArray from RAndomAccessFileOrArray

2008-06-02 Thread Denis COCHET
After a long time debugging and having out of memory errors (java heap space), I was answered why the ByteArrayOutputStream is not closed ? public static byte[] InputStreamToArray(InputStream is) throws IOException { byte b[] = new byte[8192]; ByteArrayOutputStream out = new

Re: [iText-questions] Links doesn't work when concatenating pdfs

2008-06-02 Thread 1T3XT info
luffy45 wrote: So, my problem is that i generate a report, and in the same a toc which later will be added to the report. But in the toc i want to have links linked to the report. And when the two files are separated the remote go to works but when these files are attached, the links have no

Re: [iText-questions] Method InputStreamToArray fromRAndomAccessFileOrArray

2008-06-02 Thread Paulo Soares
Closing a ByteArrayOutputStream does nothing. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Denis COCHET Sent: Monday, June 02, 2008 3:05 PM To: iText-questions@lists.sourceforge.net Subject: [iText-questions] Method InputStreamToArray

Re: [iText-questions] Method InputStreamToArray fromRAndomAccessFileOrArray

2008-06-02 Thread 1T3XT info
Paulo Soares wrote: Closing a ByteArrayOutputStream does nothing. I agree, nevertheless I've added out.close(); to the version in the SVN repository. It would be interesting to know if the OP's application now behaves better memory wise. (It would surprise me, but one never knows.) -- This

[iText-questions] FYI: OpenOffice.org event next week!

2008-06-02 Thread Bruno Lowagie
I'll present a small demo during the break on the following event (explaining how to combine OpenOffice-PDF Forms-iText): Raphael Bauduin wrote: Hi, On tuesday 10 june, the event on OpenOffice.org will take place. All information about the event is available on the website, but here's a

Re: [iText-questions] how to position each chunk to precise coordinates

2008-06-02 Thread 1T3XT info
Iliadis Yannis wrote: Sorry if my reply hasn't anything to do with your issue, but I've seen this behavior of overlapping characters by open PDF's, that are created with later versions of Acrobat, in Acrobat Viewer version 4. As you indicate this is a different issue, and maybe you should

Re: [iText-questions] Links doesn't work when concatenating pdfs

2008-06-02 Thread 1T3XT info
luffy45 wrote: So can remote go to links be used like local goto links? The above question doesn't make sense. Although it's MANDATORY on this list to create a small standalone example that reproduces any problem you have, I did this job in your place. I made two examples:

Re: [iText-questions] Color In Png not correct

2008-06-02 Thread Paulo Soares
That's probably caused by transparency. See http://www.1t3xt.info/api/com/lowagie/text/pdf/PdfWriter.html#setRgbTran sparencyBlending(boolean). Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of FlyingBuzz Sent: Monday, June 02, 2008 4:57 PM

Re: [iText-questions] Color In Png not correct

2008-06-02 Thread Howard Shank
Examples? Examples? Examples? If you can't produce an example with source, you're just complaining about something that may not be a problem. Howard Shank - Original Message From: FlyingBuzz [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Monday, June 2, 2008

[iText-questions] Color In Png not correct

2008-06-02 Thread FlyingBuzz
I realized the color when outputting a png is not correct. The color is a bit off becuase it did not match the background color of the banner. When i save the png in photoshop to bmp than show that, the image color is correct. -- View this message in context:

[iText-questions] Table of Contents

2008-06-02 Thread Chris Bourke
I've added sections and subsections (cool auto-numbering by the way) to a document and I now want to insert a table of contents. After searching around I could only find one reference that said it was difficult and you needed to know the number of pages in advance. Is this true? How can I

[iText-questions] add external pdf to a *section*

2008-06-02 Thread Chris Bourke
I've read the tutorials on concatenating external pdfs by using PdfCopy and even PdfWriter using addPage and addTemplate. However, what I want is to insert a pdf document in a specific spot in a document that's using chapters sections. Is this possible? Ideally, I'd like something like

[iText-questions] Cannot resolve symbol 'com.lowagie.text.Rectangle.width()

2008-06-02 Thread harsha ravindra
Hi, com.lowagie.text.Rectangle.width() does not compile with latest jar, 'iText-2.1.2u.jar' But its working fine with older version 'itext-1.4.5.jar'... pls advice -- Rgds; Harsha - This SF.net email is sponsored by:

Re: [iText-questions] Cannot resolve symbol 'com.lowagie.text.Rectangle.width()

2008-06-02 Thread wasegraves
-- Original message -- From: harsha ravindra [EMAIL PROTECTED] Hi, com.lowagie.text.Rectangle.width() does not compile with latest jar, 'iText-2.1.2u.jar' But its working fine with older version 'itext-1.4.5.jar'... pls advice -- Rgds; Harsha

Re: [iText-questions] Table of Contents

2008-06-02 Thread Bruno Lowagie
Chris Bourke wrote: I've added sections and subsections (cool auto-numbering by the way) to a document and I now want to insert a table of contents. After searching around I could only find one reference that said it was difficult and you needed to know the number of pages in advance.

Re: [iText-questions] add external pdf to a *section*

2008-06-02 Thread Bruno Lowagie
Chris Bourke wrote: I've read the tutorials on concatenating external pdfs by using PdfCopy and even PdfWriter using addPage and addTemplate. However, what I want is to insert a pdf document in a specific spot in a document that's using chapters sections. Is this possible? You'll have