[iText-questions] question about iText with JFreeReport

2003-01-30 Thread Ivan Hernandez
Hi, my name is Ivan. Im new into iText and JfreeReport, I want to use Jfreereport tu create a report, but, this report needs a barcode, it doesnt matter wich format, but I need a barcode. I try using Barcode128 object but i cant write this object in my report, do you know how do i do this. Thank y

[iText-questions] curveTo

2003-01-30 Thread Ricky M. Codizar
Hi, Can someone give me some sample codes how to use curveTo on PdfContentByte? Thanks. Ricky M. Codizar [EMAIL PROTECTED] --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http:

Re: [iText-questions] Header & Footer problems (repeated)

2003-01-30 Thread QJian
They will show up on the next page if you call setFoot() or setHeader() after calling document.open(). Please read example carefully, including comments. The comments says the Header which was set after calling document.open() will show up on PAGE 2. Your footer didn't show up, I guess you haven't

Re: [iText-questions] Header & Footer problems (repeated)

2003-01-30 Thread QJian
They will show up on the next page if you call setFoot() or setHeader() after calling document.open(). Please read example carefully, including comments. The comments says the Header which was set after calling document.open() will show up on PAGE 2. Your footer didn't show up, I guess you haven't

[iText-questions] Won't create MingLiU font

2003-01-30 Thread David Thielen
Hi;   Ok, FontFactory knows of MingLiU. However, when I try this: Font font = FontFactory.getFont( "MingLiU", UniCNS-UCS2-H, false, 12.0f ); I get the following exception: UniCNS-UCS2-H Any ideas?   thanks - dave  

RE: [iText-questions] How to convert extended font to CID?

2003-01-30 Thread Ray Chan
I try the charcters in 5 digits e.g \u2010C in big-ISO mapping table, the first case still failed to show the correct result, maybe I'd better wait for the arrival of the new functions after a couple of weeks. From: Paulo Soares <[EMAIL PROTECTED]> To: 'Ray Chan' <[EMAIL PROTECTED]>, [EMAIL PR

[iText-questions] Header & Footer problems (repeated)

2003-01-30 Thread Rob Moore
Howdy.  I hadn't received any response to this, so perhaps either no one has a solution/suggestion, or perhaps it passed by without notice.  I'm reposting in the case that it is the latter.  Thanks.     - Original Message - From: Rob Moore To: [EMAIL PROTECTED] Sent: Tuesday, Janu

RE: [iText-questions] How to convert extended font to CID?

2003-01-30 Thread Ray Chan
Thank you for you answer and effort for improving itext I had tried the following... Case 1: In win2k (with hkscsfonts patch, arcobat reader 5.0 installed), I can successfully create big5 + hkscs font in pdf using: BaseFont bf = BaseFont.createFont("MSungStd-Light", "UniCNS-UCS2-V", BaseFont.NOT

Re: [iText-questions] PdfPCell with multiple border widths on one cell

2003-01-30 Thread Kenny G. Dubuisson, Jr.
Ahh...makes sense. Thanks Paulo. Kenny - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "'Kenny G. Dubuisson, Jr.'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 12:25 PM Subject: RE: [iText-questions] PdfPCell with multiple border widths on on

Re: [iText-questions] Weirdness printing Chinese & Japanese chars using a Chinese font

2003-01-30 Thread David Thielen
weird - PMingLiU has it as a chinese char. I guess it has simplified chars in it's set too. thanks - dave - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "'David Thielen'" <[EMAIL PROTECTED]>; "itext" <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 4:44 AM Subject:

RE: [iText-questions] How to convert extended font to CID?

2003-01-30 Thread Paulo Soares
What I'm going to say is valid for Acrobat in windows and you should start there. After working there, worry about xpdf. Acrobat has a single way to address the glyphs in the fonts with the CID number. This is the index to the glyph. There are a number of mappings to simplify our life. One of them

RE: [iText-questions] PdfPCell with multiple border widths on one cell

2003-01-30 Thread Paulo Soares
A PdfPTable event gives you the coordinates of the cells. If you create the table without borders and then fill those borders in PdfPTableEvent there's no limit to what you can do. There's an example in my site that paints the borders with random colors. Best Regards, Paulo Soares > -Original

Re: [iText-questions] PdfPCell with multiple border widths on one cell

2003-01-30 Thread Kenny G. Dubuisson, Jr.
Hmm...I'm not sure if I know what you mean. Would you mind elaborating just a bit? Thanks Paulo. Kenny - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "'Kenny G. Dubuisson, Jr.'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 11:18 AM Subject

[iText-questions] How to convert extended font to CID?

2003-01-30 Thread Ray Chan
Could anyone teach me how to convert big5 extended characters(hkscs2001-->ISO/IEC 10646-2:2001) to CID codes (e.g. in java program) so that I can generate and allow all big5 fonts as well as hkscs fonts (in \u format) to be displayed in the output pdf under redhat8. I got: -big5-iso.txt (conver

RE: [iText-questions] iText question from a new user

2003-01-30 Thread Paulo Soares
Yes to all. If you control the pdf then you also control the fonts and can skip all this work and use what is already available to write a text string, or whatever, on top or bottom of the page. Best Regards, Paulo Soares > -Original Message- > From: Andy Kriger [SMTP:[EMAIL PROTECTED]] >

RE: [iText-questions] PdfPCell with multiple border widths on one cell

2003-01-30 Thread Paulo Soares
Only with a PdfPTableEvent. Next Version will have a PdfPCellEvent to simplify this kind of things. Best Regards, Paulo Soares > -Original Message- > From: Kenny G. Dubuisson, Jr. [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 17:06 > To: [EMAIL PROTECTED] > Subject: [

RE: [iText-questions] Error with Acrobat Approval 5

2003-01-30 Thread Paulo Soares
Assembles the copies, if any, and clears the clipping rectangle. It must always be called after using the Graphics2D. Best Regards, Paulo Soares > -Original Message- > From: Richard Damien (AXEN) [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 16:58 > To: 'Paulo Soares'; Ric

[iText-questions] Newbie: Table positioning on the PDF

2003-01-30 Thread Lior Shliechkorn
I'm running into some really annoying issues regarding generating a PDF document. I have to generate a report for a broker so that he can see his output in 3 different tables that can either be short or long. So I want to have a header with the account information table, a table for orders, and a t

[iText-questions] PdfPCell with multiple border widths on one cell

2003-01-30 Thread Kenny G. Dubuisson, Jr.
Can you have a PdfPCell with a top and bottom border set to width=1 and a left and right border width=2? I haven't found a way to do this. Thanks, Kenny --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld

RE: [iText-questions] iText question from a new user

2003-01-30 Thread Andy Kriger
When yor say "fonts are usually subset" - that's if you only include the used glphys, correct? If we have control over how the PDF is created we can include the whole font and avoid that problem, no? -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 3

RE: [iText-questions] Error with Acrobat Approval 5

2003-01-30 Thread Richard Damien (AXEN)
Title: RE: [iText-questions] Error with Acrobat Approval 5 ok, I call dispose() now and it seems to runs well. What does this method do ? Thank you very much  ! -Original Message- From:   Paulo Soares [SMTP:[EMAIL PROTECTED]] Sent:   Thursday, 30 January, 2003 17:44 To: 'Richar

RE: [iText-questions] Error with Acrobat Approval 5

2003-01-30 Thread Paulo Soares
That's what is behind the Graphics2D returned by PDFContentByte.createGraphics(). You don't have to be aware of it. Best Regards, Paulo Soares > -Original Message- > From: Richard Damien (AXEN) [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 16:46 > To: 'Paulo Soares'; Richa

RE: [iText-questions] Error with Acrobat Approval 5

2003-01-30 Thread Richard Damien (AXEN)
Title: RE: [iText-questions] Error with Acrobat Approval 5 In fact, I don't use a PDFGraphics2D I use a Graphics2D created by "PDFContentByte.createGraphics" -Original Message- From:   Paulo Soares [SMTP:[EMAIL PROTECTED]] Sent:   Thursday, 30 January, 2003 17:36 To: 'Richard D

RE: [iText-questions] iText question from a new user

2003-01-30 Thread Paulo Soares
Before you start anything don't forget that fonts are usually subset which means that you have a good chance of writing a string consisting of squares. The second point is that a pdf read has nothing to do with pdf creation which means that all the fancy iText drawing is not available, you'll have

RE: [iText-questions] Error with Acrobat Approval 5

2003-01-30 Thread Paulo Soares
Did you call dispose() on the PdfGraphics2D? Best Regards, Paulo Soares > -Original Message- > From: Richard Damien (AXEN) [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 16:25 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Error with Acrobat Approval 5 > > Hello

[iText-questions] Error with Acrobat Approval 5

2003-01-30 Thread Richard Damien (AXEN)
Title: Error with Acrobat Approval 5 Hello, here is my problem : I read an exisitng PDF file, I copy each page in a new document and  I create a Graphics2D for these pages. Then the graphics appears always over the inital content. Everything runs well, and my new pdf is well saved. But wh

RE: [iText-questions] get Dpi of an image

2003-01-30 Thread Paulo Soares
I suppose there is a place somewhere in photoshop where you set the resolution. Usually when a resolution is not found many graphic programs just display 300 dpi. Best Regards, Paulo Soares > -Original Message- > From: Filip Rydman [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 20

RE: [iText-questions] iText question from a new user

2003-01-30 Thread Andy Kriger
No problem with that. I can read specs :) Can you be more clear when you say "work at the lowest levels of iText"? The problem I'm running into is that the javadocs are not very clear about how to access portions of the PDF that I am interested in. I can read a PDF. I can copy the page. If fonts

[iText-questions] get Dpi of an image

2003-01-30 Thread Filip Rydman
Hi! I'm trying to get the resolution of an image by using getDpiX or getDpiY, but with no luck. I've tried it on both jpg and png files. The result I get is 0 dpi. The images are saved in photoshop. Can that be the problem? Is there anyone who have a clue? Or is there any work around? /Filip

RE: [iText-questions] Adding a text in the bottom of a PDF and generate another one PDF .

2003-01-30 Thread Paulo Soares
Those are crop marks and belong to the page. Use reader.getCropBox() and then place the page taking the margins into account. reader.getPageSize() gives you the total page size and reader.getCropBox() gives you what is actually displayed from the page. Best Regards, Paulo Soares > -Original M

[iText-questions] Adding a text in the bottom of a PDF and generate another one PDF.

2003-01-30 Thread Guillermo Lopez
Title: Adding a text in the bottom of a PDF and generate another one PDF. Good afternoon. When I use iText to add a text in the bottom all pages of a PDF doc and generate second PDF it works fine if the original doc has more than 1 page, but when it only has one page the PDF generated has a

Re: [iText-questions] Newbie: PdfPTable vs. Table

2003-01-30 Thread Bruno
Quoting Lior Shliechkorn <[EMAIL PROTECTED]>: > > Hi, > > I was curious about the differences between these two tables, and if there > would be an advantage of using one over the other? Class Table: - You don't have to worry about anything - The result is sometimes disappointing - It's the only

[iText-questions] Newbie: PdfPTable vs. Table

2003-01-30 Thread Lior Shliechkorn
Hi, I was curious about the differences between these two tables, and if there would be an advantage of using one over the other? Thanks,LiorDo you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

RE: [iText-questions] iText question from a new user

2003-01-30 Thread Andy Kriger
Then the next question is are there open-source or free Java libraries that allow PDF manipulation in the way I am talking about? -Original Message- From: Leonard Rosenthol [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 8:29 To: Andy Kriger; [EMAIL PROTECTED] Subject: RE: [iTe

Re: [iText-questions] Dynamic creation of PDF with JSP

2003-01-30 Thread Kenny G. Dubuisson, Jr.
Lior:   I looked at your code and the what I don't see is the table output code.  It should be something like:   table.writeSelectedRows(0, -1, 32, 210, cb); That may fix it.  Let me know if not.  Thanks, Kenny - Original Message - From: Kenny G. Dubuisson, Jr. To: Lior

Re: [iText-questions] Dynamic creation of PDF with JSP

2003-01-30 Thread Kenny G. Dubuisson, Jr.
I haven't looked at your code yet but I thought I'd mention something that I ran in to during my early development.  A table row will not print unless every cell has been populated (empty cells must be populated with "").  So if your table is defined as having 8 columns, you must fill all 8

Re: [iText-questions] Displaying Wingdings

2003-01-30 Thread David Thielen
And as a follow-up to everyone else - I added code to convert the chars 0x80 - 0x9f to their mapped values in codepage 1252 and it all works great now. thanks - dave - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "'David Thielen'" <[EMAIL PROTECTED]>; "itext" <[EMAIL P

RE: [iText-questions] Disabling of Colspan

2003-01-30 Thread Paulo Soares
> -Original Message- > From: Ricky M. Codizar [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 8:20 > To: [EMAIL PROTECTED] > Subject: Re: [iText-questions] Disabling of Colspan > > Hi, > > I would like to ask if it is possible to disable the Colspan during the > PdfPTa

RE: [iText-questions] Displaying Wingdings

2003-01-30 Thread Paulo Soares
Yes. Best Regards, Paulo Soares > -Original Message- > From: David Thielen [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 5:37 > To: itext > Subject: [iText-questions] Displaying Wingdings > > Hi; > > Here's what I think the problem is. When I select Wingdings as th

RE: [iText-questions] Arabic, Hebrew, Thai, & Vietnamese

2003-01-30 Thread Paulo Soares
Do you have the pdf reference? See appendix D, Character Sets and Encodings. Best Regards, Paulo Soares > -Original Message- > From: David Thielen [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 4:56 > To: itext > Subject: Re: [iText-questions] Arabic, Hebrew, Thai, & V

RE: [iText-questions] Weirdness printing Chinese & Japanese chars using a Chinese font

2003-01-30 Thread Paulo Soares
\u4e7d doesn't exist in that mapping. Best Regards, Paulo Soares > -Original Message- > From: David Thielen [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 5:06 > To: itext > Subject: Re: [iText-questions] Weirdness printing Chinese & Japanese > chars using a Chinese fo

RE: [iText-questions] Wrong pagesize when adding template!

2003-01-30 Thread Paulo Soares
You must use the cropbox size and place the template offset by the margin. Best Regards, Paulo Soares > -Original Message- > From: Erik Turesson [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 8:59 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Wrong pagesize when

[iText-questions] Wrong pagesize when adding template!

2003-01-30 Thread Erik Turesson
Hello! I am trying to copy an existing PDF document into a new document and then add some text to the document. Everyting works fine except for one thing. The document created has a larger pagesize than the template document. The template document is inserted in the center of the new document with

Re: [iText-questions] HeaderFooter

2003-01-30 Thread Bruno
Quoting Jpenuela <[EMAIL PROTECTED]>: > It's possible to create a Header that contains images an tables? This is possible if you use PageEvents. > How? HeaderFooter object seems only work with Phrases objects. HeaderFooter is a very simple class for quick results. It's not suited for more com

[iText-questions] HeaderFooter

2003-01-30 Thread Jpenuela
It's possible to create a Header that contains images an tables?    How?  HeaderFooter object seems only work with Phrases objects.   Thanks in advance.   **Julio Peñuela GilCentre d'informàticaUniversitat de BarcelonaTel: 93-403-44-25*

Re: [iText-questions] Disabling of Colspan

2003-01-30 Thread Ricky M. Codizar
Hi, I would like to ask if it is possible to disable the Colspan during the PdfPTableEvent? Here is my current situation: 1. I created the a PdfPTable with 6 rows and 6 columns 2. I set the Colspan to 6 3. I created PdfPTableEvent class to place horizontal lines on the last row that equal to my

Re: [iText-questions] Add an image file

2003-01-30 Thread Bruno
Quoting Jpenuela <[EMAIL PROTECTED]>: > Great !!! As http://www.lowagie.com/iText/faq.html#images explain, I've > convert my .gif to.jpg and it works fine. There is another workaround with java.awt.Image. > Another question about it: > There is any way to determine the image width an height, in

Re: [iText-questions] Add an image file

2003-01-30 Thread Jpenuela
Great !!! As http://www.lowagie.com/iText/faq.html#images explain, I've convert my .gif to.jpg and it works fine. Another question about it: There is any way to determine the image width an height, in a similar way to html: Thanks for all. - Original Message - From: "Bruno" <[EMAIL PRO