[iText-questions] Need to display Html content in html format in pdf file

2009-09-21 Thread satheesh kumar
Hi All, I use velocity template engine to generate a template.This template contains some junk of data along with html table format. This html content is stored in java.io.Writer object. When I load this content into pdf using itext.Paragraph class, the html syntax are displayed as it is Eg:

[iText-questions] Need to display Html content in html format in pdf file

2009-09-21 Thread satheeshsamiappan
Hi All, I use velocity template engine to generate a template.This template contains some junk of data along with html table format. This html content is stored in java.io.Writer object. When I load this content into pdf using itext.Paragraph class, the html syntax are displayed as it is Eg:

Re: [iText-questions] Re ad pdf content and store it in a text file

2009-09-21 Thread satheeshsamiappan
Thanks for the reply. satheeshsamiappan wrote: Hi all, I have a situation where i need to read pdf content and store it in text file. I used PdfReader object to read the pdf file. But i was not able to see any provision for converting that object into filewriter. Can anyone guide me

[iText-questions] image setSpacingAfter()

2009-09-21 Thread Jason Berk
Is there some trick to making this work? I'm not seeing any whitespace around my images. Jason Now serving Boiler Spirit with every purchase. Switch to the new Purdue debit card today. Show your pride and earn Scorecard Rewards on the side. Just sign for your purchases and score valuable

Re: [iText-questions] image setSpacingAfter()

2009-09-21 Thread Bruno Lowagie
Jason Berk wrote: Is there some trick to making this work? I'm not seeing any whitespace around my images. I never use that method. I always use borders (Image extends Rectangle). br, Bruno -- Come build with us! The

Re: [iText-questions] Need to display Html content in html format in pdf file

2009-09-21 Thread Leonard Rosenthol
What would make you think that you could just put HTML into a PDF and it would dynamically render like that?? Leonard On 9/21/09 8:32 AM, satheeshsamiappan cssathe...@gmail.com wrote: Hi All, I use velocity template engine to generate a template.This template contains some junk of data

[iText-questions] getting font for text string

2009-09-21 Thread newoutlook
I am looking for a iText Api class for the following content stream to get font for a text string. For example, Text string (\001) has font /T1_7 1 Tf. Please help me if anybody knows the class. BT /LI_Label /MCID 34 BDC 0.929 0.11 0.141 scn /GS2 gs /T1_7 1 Tf 0 Tc 8 0 0 8 83.0628 167.5115 Tm

[iText-questions] Color shift and missing Transparency Group

2009-09-21 Thread Gylfi Ingvason
All, I'm using iTextsharp and noticed a color shift in an image after a page import using PdfWriter. The reason for the change in color is that the Transparency Group dictionary in the imported page object is not being preserved when the page is being imported into an XObject Form. I'm assuming

Re: [iText-questions] Color shift and missing Transparency Group

2009-09-21 Thread Paulo Soares
The absence of transparency group support was lack of time (and also lack of demand). I'll have to see if the page dictionaries are also accepted in a XObject in all cases. Paulo -Original Message- From: Gylfi Ingvason [mailto:gylfi.ingva...@solimarsystems.com] Sent: Monday,

Re: [iText-questions] [patch-itextsharp] Fixes to attachment handling

2009-09-21 Thread Paulo Soares
Thank you. I'll have a look and get back to you later. Paulo -Original Message- From: Vesa Jääskeläinen [mailto:ch...@nic.fi] Sent: Monday, September 21, 2009 6:39 PM To: iText questions Subject: [iText-questions] [patch-itextsharp] Fixes to attachment handling Hi All,

Re: [iText-questions] Color shift and missing Transparency Group

2009-09-21 Thread Paulo Soares
Can you post a link to one of those PDF? Paulo -Original Message- From: Gylfi Ingvason [mailto:gylfi.ingva...@solimarsystems.com] Sent: Monday, September 21, 2009 6:02 PM To: 'Post all your questions about iText here' Subject: Re: [iText-questions] Color shift and missing

Re: [iText-questions] Color shift and missing Transparency Group

2009-09-21 Thread Gylfi Ingvason
Sorry, I can't - this is customer data that I'm not authorized to share. I might be able to re-create a generic sample if need be, but for the moment I don't have a file to post. The Page object in question looks like this: 63 0 obj/CropBox[0 0 612 792]/Annots 64 0 R/Parent 57 0

Re: [iText-questions] Color shift and missing Transparency Group

2009-09-21 Thread Paulo Soares
I need a PDF to work on. Paulo - Original Message - From: Gylfi Ingvason gylfi.ingva...@solimarsystems.com To: 'Post all your questions about iText here' itext-questions@lists.sourceforge.net Sent: Monday, September 21, 2009 7:53 PM Subject: Re: [iText-questions] Color shift and

Re: [iText-questions] Color shift and missing Transparency Group

2009-09-21 Thread Gylfi Ingvason
Understood - I will work on getting you one... -Original Message- From: Paulo Soares [mailto:psoa...@glintt.com] Sent: Monday, September 21, 2009 3:13 PM To: gylfi.ingva...@solimarsystems.com; Post all your questions about iText here Subject: Re: [iText-questions] Color shift and