Re: [iText-questions] How to instantiate a PDF Document ?

2006-03-14 Thread bruno
Pescador Digital wrote: Hi everyone, i am new in this mailing list and I want to know if it is possible to instantiate a PdfDocument class. I need to use it in the write() method of the MultiColumnText class: public float write(PdfContentByte canvas, PdfDocument document,

[iText-questions] Re: Wrap text in a rectangle

2006-03-14 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Hello all, FYI: the address is itext-questions@lists.sourceforge.net You mailed your question to the admin instead. i am new at iText and i need to create a pdf simply by placing several elements (words, numbers or sentences) at specific positions in a page. The p

Re: [iText-questions] Pretty Tables

2006-03-14 Thread Paulo Soares
Table is not supported anymore, use a PdfPTable instead. - Original Message - From: "Peter Wilkinson" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 15, 2006 3:03 AM Subject: [iText-questions] Pretty Tables I'm having a go at pumping out some reports in PDF format. iText is looking

Re: [iText-questions] Tables with SubTables generates empty rows

2006-03-14 Thread Paulo Soares
Table is not supported anymore, use a PdfPTable instead. - Original Message - From: "Dante Notari" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 15, 2006 5:34 AM Subject: [iText-questions] Tables with SubTables generates empty rows Hi, I have a table with a subtable. The main table

[iText-questions] Tables with SubTables generates empty rows

2006-03-14 Thread Dante Notari
Hi, I have a table with a subtable. The main table has only one row, however the Table.size() returns 21. For some reason it has generated many rows. There are a series of methods used (getTable, getDataCell, getLabelCell which return the Element with some formatting). I have other tables with sub

[iText-questions] Pretty Tables

2006-03-14 Thread Peter Wilkinson
I'm having a go at pumping out some reports in PDF format. iText is looking the goods but I'm having trouble prettying up the tables. I can't figure out a way to set the font for all elements in the table so I've resorted to creating a chunk with the font specs to go into a new cell for each r

RE: [iText-questions] PdfLiteral ClassCastException

2006-03-14 Thread Doug James
Sorry but it is in a blob column. The interesting thing is now it is magically working again. Doug -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 5:39 PM To: Doug James; iText-questions@lists.sourceforge.net Subject: Re: [iText-questions]

Re: [iText-questions] PDF417 byte compaction

2006-03-14 Thread Jose Urzua
2006/3/8, Paulo Soares <[EMAIL PROTECTED]>: > You'll have to pay attention to the details. Although the PDF417 references > states that text should be encoded as per cp437, where the "ñ" char is F1, > it's > still just bytes open to the interpretation of the end party. If your reader > is > conne

Re: [iText-questions] rtf features + diffs

2006-03-14 Thread Mark Hall
On Tuesday 14 March 2006 23:59, Eitan Suez wrote: > i made some minor enhancements to itext with respect > to rtf. thought they might be useful for others so > i'm including a diff file. Thank you very much for your work. I'll look at the diffs in detail and then they will probably be inclu

[iText-questions] rtf features + diffs

2006-03-14 Thread Eitan Suez
hello, i made some minor enhancements to itext with respect to rtf. thought they might be useful for others so i'm including a diff file. here is a summary of the changes: 1. i discovered than when dealing with producing an rtf file with multiple chapters (so as to get different

Re: [iText-questions] PdfLiteral ClassCastException

2006-03-14 Thread Paulo Soares
Probably saving it in a database text field instead of binary. - Original Message - From: "Doug James" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 14, 2006 10:19 PM Subject: [iText-questions] PdfLiteral ClassCastException I have a PDF document with form fields. If I open the documen

[iText-questions] PdfLiteral ClassCastException

2006-03-14 Thread Doug James
I have a PDF document with form fields. If I open the document and use a stamper to re-write the file to and from my local file system it seems to work fine (stamper.setFormFlattening(true);). But if I put the form in a database and pull it out and do the same I get a ClassCastException reference:

Re: [iText-questions] ItextSharp - Fonts and BaseFont

2006-03-14 Thread Paulo Soares
iTextSharp.text.FontFactory.GetFont will work. - Original Message - From: "Jack Mott" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 14, 2006 8:38 PM Subject: [iText-questions] ItextSharp - Fonts and BaseFont Using an old iTextSharp.dll we could create new Fonts like this: iTextSharp

[iText-questions] How to instantiate a PDF Document ?

2006-03-14 Thread Pescador Digital
Hi everyone, i am new in this mailing list and I want to know if it is possible to instantiate a PdfDocument class. I need to use it in the write() method of the MultiColumnText class: public float write(PdfContentByte canvas, PdfDocument document, float docu

[iText-questions] ItextSharp - Fonts and BaseFont

2006-03-14 Thread Jack Mott
Using an old iTextSharp.dll we could create new Fonts like this: iTextSharp.text.Font contentFont = iTextSharp.text.FontFactory.getFont ("Arial", 10, iTextSharp.text.Font.NORMAL); this does not appear to work any more. By looking at the tutorials, it looks like we should use the BaseFont o

Re: [iText-questions] [c:\windows\fonts\w39mc.ttf cannot be embedded due to licensing restrictions.]

2006-03-14 Thread Leonard Rosenthol
At 04:00 PM 3/14/2006, Raja Kantamneni wrote: After printing the barcode, when I try to scan it, it is not working. How could I make it scannble barcode label? I don't know anything about how you are scanning it, what tool(s) you are using, etc. I'd recommend you contact the

Re: [iText-questions] [c:\windows\fonts\w39mc.ttf cannot be embedded due to licensing restrictions.]

2006-03-14 Thread Raja Kantamneni
Thanks Leonard, it worked. After printing the barcode, when I try to scan it, it is not working. How could I make it scannble barcode label? Thanks, -Raja --- Leonard Rosenthol <[EMAIL PROTECTED]> wrote: > At 12:34 PM 3/14/2006, Raja Kantamneni wrote: > >We are using WASP MC font to print barcod

RE: [iText-questions] Unable to Open pdf

2006-03-14 Thread Mark Storer
You'll have to be more specific than "the pdf".  Which PDF?  Made by whom?  If you attached your PDF, it didn't survive the journey.   --Mark Storer   Senior Software Engineer   Cardiff Software #include typedef std::Disclaimer DisCard; -Original Message-From: [EMAIL PROTECTE

Re: [iText-questions] Unable to Open pdf

2006-03-14 Thread Paulo Soares
http://article.gmane.org/gmane.comp.java.lib.itext.general/21436 - Original Message - From: "Lakshmi Rajamani" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 14, 2006 7:30 PM Subject: [iText-questions] Unable to Open pdf I am unable to open the pdf. I keep getting the message "Trailer

[iText-questions] Unable to Open pdf

2006-03-14 Thread Lakshmi Rajamani
I am unable to open the pdf. I keep getting the message "Trailer not found".  How do I open this pdf using the iText classes. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web a

Re: [iText-questions] [c:\windows\fonts\w39mc.ttf cannot be embedded due to licensing restrictions.]

2006-03-14 Thread Leonard Rosenthol
At 12:34 PM 3/14/2006, Raja Kantamneni wrote: We are using WASP MC font to print barcode labels, when I tried to create barcode label using that font, I am getting [c:\windows\fonts\w39mc.ttf cannot be embedded due to licensing restrictions.] runtime error message. That means that the f

[iText-questions] [c:\windows\fonts\w39mc.ttf cannot be embedded due to licensing restrictions.]

2006-03-14 Thread Raja Kantamneni
Hi, We are using WASP MC font to print barcode labels, when I tried to create barcode label using that font, I am getting [c:\windows\fonts\w39mc.ttf cannot be embedded due to licensing restrictions.] runtime error message. We bought it and have licence. How could I use this font or I could I let i

RE: [iText-questions] Add XMP tags to PDF

2006-03-14 Thread Leonard Rosenthol
At 10:25 AM 3/14/2006, Segev, Eli wrote: The id should not be created on the fly. It is fixed. See XMP Specification. You are correct - I was thinking of uuid - sorry! LDR --- Leonard Rosenthol

[iText-questions] Re: Add XMP tags to PDF

2006-03-14 Thread Bruno Lowagie
Segev, Eli wrote: I hope the above code helps. Some of this code appears in com.lowagie.text.xml.xmp.XmpWriter, but the code works only when creating XMP from scratch. Check the source code. XmpWriter does not parse or update existing metadata. No, but if somebody wants to write XMP classes

RE: [iText-questions] Add XMP tags to PDF

2006-03-14 Thread Segev, Eli
The id should not be created on the fly. It is fixed. See XMP Specification. Eli Segev -Original Message- From: Leonard Rosenthol [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 10:21 AM To: Segev, Eli; bruno; Phil Poupart Cc: itext-questions@lists.sourceforge.

RE: [iText-questions] Add XMP tags to PDF

2006-03-14 Thread Leonard Rosenthol
At 09:33 AM 3/14/2006, Segev, Eli wrote: Your example is incomplete. XMP is based on RFD and it is more convoluted than in your example. RDF, Resource Definition Format, not RFD ;). But RDF is really just another XML grammar, so it can be treated as such. The XMP packet i

RE: [iText-questions] Add XMP tags to PDF

2006-03-14 Thread Segev, Eli
Bruno, Your example is incomplete. XMP is based on RFD and it is more convoluted than in your example. To extract the XMP metadata from a document: FileInputStream fis = new FileInputStream(fileName); com.lowagie.text.pdf.PdfReader pdfReader = new com.lowagie.text.pdf.PdfReader(fis); byte met

Re: [iText-questions] latest release...

2006-03-14 Thread bruno
Andrey wrote: Isn't it a time to put the latest release of iText to http://www.ibiblio.org/ maven/itext/... ? Currently only itext-1.3.1.jar is available at location :( Who manages the Maven projects? (Who can log in on iBiblio?) Didn't they change the structure of Maven projects for Maven2? b

[iText-questions] latest release...

2006-03-14 Thread Andrey
Isn't it a time to put the latest release of iText to http://www.ibiblio.org/ maven/itext/... ? Currently only itext-1.3.1.jar is available at location :( --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that exte

RE: [iText-questions] Re: Can we generate the PDF editable Forms with itext

2006-03-14 Thread Paulo Soares
> -Original Message- > From: Srinivas [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 14, 2006 8:50 AM > To: Paulo Soares; itext-questions@lists.sourceforge.net > Subject: RE: [iText-questions] Re: Can we generate the PDF > editable Forms with itext > > Hi Paulo Soares, > > Thank fo

RE: [iText-questions] Re: Can we generate the PDF editable Forms with itext

2006-03-14 Thread Srinivas
Hi Paulo Soares, Thank for the response, I am new to the itext, please let me know how should I proceed for the below activities. Point (3) Refers to: If we have a CSV (comma separated values) file or a text file or EDI (Electronic Data Interchange- for B2B messages like PO, invoice etc)

Re: [iText-questions] Re: Can we generate the PDF editable Forms with itext

2006-03-14 Thread Paulo Soares
- Original Message - From: "Srinivas" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 14, 2006 6:02 AM Subject: [iText-questions] Re: Can we generate the PDF editable Forms with itext Hi All, I would like to know whether we can use the itext for generating the editable pdf forms (ad