[iText-questions] Difference in Font Size Between PostScript and Itext generated PDF

2007-10-30 Thread harsha_reddy
Hi All, Can some one tell me whether there is any difference in font size between PostScript and Itext generated PDF if Yes the how can i make the Font size of itext equal to PostScript. and also can some one give me function to do horizontal scaling of 75% to the font Thanks Harsha -- Vi

Re: [iText-questions] How to merge PDF files?

2007-10-30 Thread esolzsubhadeep
That's what I needed, Bruno. Thanks a bunch.=) Bruno Lowagie (iText) wrote: > > esolzsubhadeep wrote: >> Well, thanks. Now please tell me how I can merge pdf files with >> itextsharp? >> If there's any webpage regarding the process, could you please give that >> link? That would be beneficial fo

[iText-questions] Inserting a page

2007-10-30 Thread Charles Ohana
Hello, I'm trying to merge 2 documents but I need the second document to be inserted between 2 pages. I saw PdfCopyFields has a method addDocument but it appends 2 documents (one after the other). I'm looking for something more like insertDocument. I could split the document page by page an rege

[iText-questions] Strange behavoir with document.setHeader/Footer

2007-10-30 Thread Michael
Hi, I am a beginner with iText. I have to create some PDFs for our factory. The basic idea is: Header (different on each page) Text Footer (different on each page) what I did to my understanding: open document, add header, add text, add footer, new page, header, text.. and so on + close [CODE

Re: [iText-questions] How generate the PDF417 with special font?

2007-10-30 Thread Paulo Soares
iText can generate PDF417 on it's own but you can use a font to do it. I suppose that you also have the algorithm to generate the characters? Paulo - Original Message - From: "Marcel Gil Vega" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Tuesday, October 30

Re: [iText-questions] PDF/A compliance

2007-10-30 Thread Paulo Soares
That's BIRT call. Paulo - Original Message - From: "Nicolas Simonnet" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 30, 2007 4:33 PM Subject: [iText-questions] PDF/A compliance > Hello, > > > > I'm working on a web application using BIRT / iText to generate PDF > reports, > and our

[iText-questions] PDF/A compliance

2007-10-30 Thread Nicolas Simonnet
Hello, I'm working on a web application using BIRT / iText to generate PDF reports, and our customers want us to generate PDF/A compliant documents. Is iText able to generate this kind of documents? If not, will it be? . :-) Thanks for your answer, and thanks for your great job! Nico -

Re: [iText-questions] PageAction JavaScript binding

2007-10-30 Thread Quintana Maldonado, Rafael
Hello there. Has anybody worked with Pdf with JavaScript inside? I'm looking for a way to attach a JavaScript code to PageOpen action. Although i can attach a JS to a WillPrint document event (thanks to Paulo) i 'm still needing the way to attach another JS to PO event with iText. Any hint i

[iText-questions] How generate the PDF417 with special font?

2007-10-30 Thread Marcel Gil Vega
Hi, I have the special font to generate the pdf417. Now i want to know if is possible to use it with your code generation. Thanks , Marcel __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.co

Re: [iText-questions] Nested table with no border, how?

2007-10-30 Thread Bruno Lowagie (iText)
BorO :: Qnab System AB wrote: > Thanks for the answer but as I can see I can't set it. > > My code: > table.addCell(getNasted()) > > I add directly a nasted table to a table. I can't add a nasted table to > a cell and then add a cell to a table. > Which cell to set border on? Create the PdfPC

Re: [iText-questions] Nested tables, works but with unwanted border

2007-10-30 Thread Bruno Lowagie (iText)
BorO :: Qnab System AB wrote: > As I can see I can't add a table to cell with no borders and then add it > to a table. As already explained by others: it's sufficient to apply setBorder(Rectangle.NO_BORDER); on the appropriate places. br, Bruno ---

Re: [iText-questions] Nested table with no border, how?

2007-10-30 Thread BorO :: Qnab System AB
Thanks for the answer but as I can see I can't set it. My code: table.addCell(getNasted()) I add directly a nasted table to a table. I can't add a nasted table to a cell and then add a cell to a table. Which cell to set border on? Help :) - Original Message - From: Quintana Maldona

[iText-questions] Nested tables, works but with unwanted border

2007-10-30 Thread BorO :: Qnab System AB
Hello! I wonder if someone can help me with my little problem. In the example for nasted tables it stands table.addCell(nested1); Instead of cell you add a table. That works for me but for some reason I get a border around it. I shouldn't be there. Is there a way to not have a border or does i

Re: [iText-questions] Appending a pdf to an existing pdf file

2007-10-30 Thread abdul.taj
Ah, now I get it. Did some reading on the cross reference table that a pdf maintains. Thanks for helping me understand. I did read the manual though but did not quite catch the reason . It would be an idea to add this in the FAQ, some users might hit upon the same question! Regards, Taj -Or

Re: [iText-questions] Saving PDF to server

2007-10-30 Thread Alexis Pigeon
Hi Ramesh, On 30/10/2007, ramesh totakoori <[EMAIL PROTECTED]> wrote: > > Hi Team, > > I am able to generate the PDF and open in the browser using the follwing > code [...] > PdfWriter.getInstance(document, response.getOutputStream()); > > But I need to save the file to server instead of opening

[iText-questions] Saving PDF to server

2007-10-30 Thread ramesh totakoori
Hi Team, I am able to generate the PDF and open in the browser using the follwing code Document document = new Document(); response.setContentType("application/pdf"); response.setHeader("Expires", "0"); response.setHeader("Cache-Control", "must-revalidate, post-check=0, pre-check=0"); response.s

Re: [iText-questions] Nested table with no border, how?

2007-10-30 Thread Quintana Maldonado, Rafael
Try setBorderWidth(0) on the PdfPcell From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of BorO :: Qnab System AB Sent: Martes, 30 de Octubre de 2007 02:28 a.m. To: Post all your questions about iText here Subject: [iText-questions] Nested table with no

Re: [iText-questions] Appending a pdf to an existing pdf file

2007-10-30 Thread Bruno Lowagie (iText)
[EMAIL PROTECTED] wrote: > When we want to append a pdf to an existing pdf file is it necessary to > always create an instance of a PdfReader for the existing pdf (to find > page no's etc?)? Yes. >> Even if you would want to change an existing PDF in append mode (where > the new bytes are added

Re: [iText-questions] Appending a pdf to an existing pdf file

2007-10-30 Thread abdul.taj
Thanks for the reply. However I still have a doubt. >- while reading the bytes from a file (in PdfReader), you > can't write to that file. However, you could first read > the bytes of this file in a byte array and then use this > byte[] in PdfReader instead of using the file. Then it > w

Re: [iText-questions] Different Phrases in a table Cell

2007-10-30 Thread Bruno Lowagie (iText)
swapna reddy wrote: > Hi > > Is it possible to have different phrases in the same cell of a table. > Only one phrase is visible at one point of time. I want to change the > states of the phrases through Javascript. Is this a possible scenario? > If so, a piece of code to start of would be of g

Re: [iText-questions] Appending a pdf to an existing pdf file

2007-10-30 Thread Bruno Lowagie (iText)
[EMAIL PROTECTED] wrote: > Hello, > > I am trying to append a pdf file to another existing pdf file. Can that > be achieved through itext without creating a new temp output file where > I will have to copy both the pdfs to actually merge them. Yes and no. When manipulating a PDF (with PdfRead

[iText-questions] Appending a pdf to an existing pdf file

2007-10-30 Thread abdul.taj
Hello, I am trying to append a pdf file to another existing pdf file. Can that be achieved through itext without creating a new temp output file where I will have to copy both the pdfs to actually merge them. Currently that is how I am able to append. If I need to append a pdf say Pdf1 to anoth

[iText-questions] images on dynamic html snippets

2007-10-30 Thread Alvaro Sanchez
I'm reading dynamic HTML snippets from a database, some of these snippets contain Images () The images rae displayed but on the top of the document, overlapping with the text. They do not maintain the appearance of the HTML, like everything else. I looked using ColumnText, but when I tried

Re: [iText-questions] Get ByteStream

2007-10-30 Thread wasegraves
Ouch! There's an echo in here. ;-) Leonard, to you suppose you and Candra could turn off your quoting? It really takes very little effort to snip off the irrelevant content of a thread. Cheers, Bill Segraves -- Original message from Leonard Rosenthol <[EMAIL PROTECTED]>: --

Re: [iText-questions] Get ByteStream

2007-10-30 Thread Leonard Rosenthol
Yes, that will get you the raw data for the image - but you then need to figure out how to encode/format that data. Leonard On Oct 30, 2007, at 2:11 AM, Candra Gunawan wrote: > > ow i see, thanks for your explanation > > but i'm still curious, is it correct code > > byte[] barr = PdfReader.get

Re: [iText-questions] Get ByteStream

2007-10-30 Thread Candra Gunawan
ow i see, thanks for your explanation but i'm still curious, is it correct code byte[] barr = PdfReader.getStreamBytesRaw((PRStream)pdfdict); to get image byte ? whatever ext ? i mean maybe the problem is i need more technique to encode the byte, is it right ? thanks candra Leonard R

[iText-questions] images dynamic html snippets

2007-10-30 Thread Alvaro Sanchez
I'm reading dynamic HTML snippets from a database, some of these snippets contain Images () The images rae displayed but on the top of the document, overlapping with the text. They do not maintain the appearance of the HTML, like everything else. I looked using ColumnText, but when I tried

[iText-questions] Accessing a table

2007-10-30 Thread Mira Al Arab
Dear sirs, I know that the book on IText states that IText does not enable you to modify a pdf file, but I just wanted to be absolutely sure before I gave up on the following issue. Is there anyway I can open an existing a pdf file and access a table within it in order to add rows to this t

[iText-questions] Nested table with no border, how?

2007-10-30 Thread BorO :: Qnab System AB
Hello! I have a table with some cells and nested tables. Alla nested tables have border around them but I don't know why. Cells don't have borders. table.addCell(nestedTable()) It seems like it's the Cell around the nested table that have border. How to do to set it to zero? Best regards, Boris