[iText-questions] HTML to PDF

2014-09-04 Thread Douglas, Stephen
Hi, I am new to using iText and was wanting to convert an HTML string into a PDF. I have seen a couple different examples on the web, but was wondering if you guys had a recommended best practice for doing this with iText in C#. Thanks in advance!

Re: [iText-questions] HTML To PDF

2012-10-26 Thread Eric Chow
Hello, I tried to use the example that in the XML Worker documents. If I set a specific font for the elements. It seems not recognize. tr tdSubject/td td style=font-family: Arial Unicode MSTesting Receiptá 天/td /tr The td element contains some CJK characters. I tried to register

Re: [iText-questions] HTML To PDF

2012-10-26 Thread iText Info
Op 26/10/2012 10:50, Eric Chow schreef: Hello, I tried to use the example that in the XML Worker documents. If I set a specific font for the elements. It seems not recognize. tr tdSubject/td td style=font-family: Arial Unicode MSTesting Receiptá 天/td /tr Maybe the HTML is parsed using

[iText-questions] HTML To PDF

2012-10-24 Thread Santiago, Benito
Hello everyone, I am writing a website application where I allow the user to design components that are to be used (dynamically) in the creation of a PDF letter. For example, the letterhead, footer and body of the PDF letter created may change under certain options. The control I am utilizing

Re: [iText-questions] HTML To PDF

2012-10-24 Thread 1T3XT BVBA
On 24/10/2012 14:26, Santiago, Benito wrote: My question is, does anyone have a sample that I can learn from (if it’s even possible) to convert HTML Text into PDF Text, while preserving the formatting? (ie: Paragraphs, Bold, Italics, Font Size, etc…) You're using HTMLWorker, you should

Re: [iText-questions] HTML To PDF

2012-10-24 Thread Santiago, Benito
Thank you for this information. However this demo uses HTMLWorkerHelper. I am completely lost as to where this exists... I looked through everything I could think of in the iTextSharp.dll and I can't find a reference to this object/class. I can see the sample code using it, but the sample code

Re: [iText-questions] HTML To PDF

2012-10-24 Thread 1T3XT BVBA
On 24/10/2012 18:49, Santiago, Benito wrote: Thank you for this information. However this demo uses HTMLWorkerHelper. I am completely lost as to where this exists... I looked through everything I could think of in the iTextSharp.dll and I can't find a reference to this object/class. You

Re: [iText-questions] HTML To PDF

2012-10-24 Thread Santiago, Benito
Thank you again. I am so sorry for being pain...I try not to ask unless I exhausted all I can think of. I downloaded and referenced the Helper class. And it works, however... The images don't retain their size set in the HTML code. I have large images that are shrunk (scaled down). When

Re: [iText-questions] HTML to PDF with XMLWorker

2012-07-23 Thread abhinav5000
Hi Mark I have also the same task as u r doing with ckeditor +liferay+pdf I am also not getting good result, So can u help me for this if u have any clue or u have solved this issue? Thanks in adavance. -- View this message in context:

[iText-questions] HTML to PDF Conversion Problem

2012-07-12 Thread Hugh McLaughlin
Hello Everyone and thanks for your help in advance. I amusing iTextSharp and xmlworker to convert HTML to PDF. I have working code that converts some basic HTML to PDF successfully, however, when I attempted to convert a particular HTML block in, it only generates a blank PDF. I have attached

[iText-questions] HTML to PDF with XMLWorker

2012-06-20 Thread Hugh McLaughlin
Hello Everyone and thanks for your help in advance. I am trying to convert a simple HTML file to PDF using iTextSharp xmlworker. Below is the code. However, when open the PDF file, I receive an error message the file could not be opened and it is damaged. Here is my code. Any help would be

Re: [iText-questions] HTML to PDF Not Working Correctly

2012-06-01 Thread Brad
1T3XT BVBA info at 1t3xt.info writes: On 31/05/2012 20:09, Brad wrote: Is there a recommend WYSIWYG editor that converts EXACTLY? What is EXACTLY? Even between browsers there are differences. Also, don't forget that a browser doesn't need to worry about a page size: it has scroll

Re: [iText-questions] HTML to PDF Not Working Correctly

2012-05-31 Thread Brad
1T3XT BVBA info at 1t3xt.info writes: iTextSharp.text.html.simpleparser.HTMLWorker This class will be deprecated in the next version, and eventually removed. Please use XML Worker instead. We're waiting to remove HTMLWorker until the documentation about XML Worker is finished. For more

Re: [iText-questions] HTML to PDF Not Working Correctly

2012-05-31 Thread 1T3XT BVBA
On 31/05/2012 13:14, Brad wrote: http://itextpdf.com/summit.php#talk3 That link isn't working. Do you have an example that I can look at? I neglected to mention that this is a PDF Form and I am layering the HTML over a specific part of the form. Not sure if that will make a difference or

Re: [iText-questions] HTML to PDF Not Working Correctly

2012-05-31 Thread Balder VC
The link works for me, the page is rather heavy to load due to all embedded video's but it does work. On 31/05/12 13:14, Brad wrote: That link isn't working. Do you have an example that I can look at? I neglected to mention that this is a PDF Form and I am layering the HTML over a

Re: [iText-questions] HTML to PDF Not Working Correctly

2012-05-31 Thread Brad
1T3XT BVBA info at 1t3xt.info writes: The link works for me, and it shows you how to combine AcroForms and XML Worker. As an alternative, you can look at http://www.parleys.com/d/3186 We do have all the example code, but currently, that code is only available for paying customers. Do you

Re: [iText-questions] HTML to PDF Not Working Correctly

2012-05-31 Thread 1T3XT BVBA
On 31/05/2012 16:03, Brad wrote: We don't have a support contract. Do you know how much one costs? I can email sales if not. Support is 20% of the license cost. The license cost depends on your use of iText. It's best to mail sales for more info.

Re: [iText-questions] HTML to PDF Not Working Correctly

2012-05-31 Thread Brad
1T3XT BVBA info at 1t3xt.info writes: On 31/05/2012 13:14, Brad wrote: http://itextpdf.com/summit.php#talk3 That link isn't working. Do you have an example that I can look at? I neglected to mention that this is a PDF Form and I am layering the HTML over a specific part of the

Re: [iText-questions] HTML to PDF Not Working Correctly

2012-05-31 Thread 1T3XT BVBA
On 31/05/2012 20:09, Brad wrote: Is there a recommend WYSIWYG editor that converts EXACTLY? What is EXACTLY? Even between browsers there are differences. Also, don't forget that a browser doesn't need to worry about a page size: it has scroll bars, and therefore more freedom. In PDF, you have

[iText-questions] HTML to PDF Not Working Correctly

2012-05-30 Thread Brad
I have some c# code that takes HTML and converts it to PDF. It is not converting the HTML exactly as it displays in the browser and this is proving to be a real headache to fix. Please, any help that you can provide would be of huge benefit! Here is the code... string strSOW = INSERT HTML

Re: [iText-questions] HTML to PDF Not Working Correctly

2012-05-30 Thread 1T3XT BVBA
On 31/05/2012 4:07, Brad wrote: iTextSharp.text.html.simpleparser.HTMLWorker This class will be deprecated in the next version, and eventually removed. Please use XML Worker instead. We're waiting to remove HTMLWorker until the documentation about XML Worker is finished. For more info about XML

Re: [iText-questions] HTML to PDF

2012-05-18 Thread 1T3XT BVBA
On 17/05/2012 23:47, Hugh McLaughlin wrote: Ok, I've switched over to XMLWorker, and studied the documentation and example at: http://demo.itextsupport.com/xmlworker/itextdoc/flatsite.html However, I receive an error on the first line: Dim HtmlContext As HtmlPipelineContext = New

Re: [iText-questions] HTML to PDF

2012-05-18 Thread Hugh McLaughlin
The New HTMLPipelineContext()is looking for an argument CssAppliers. From: Alexis Pigeon [mailto:pigeon.ale...@gmail.com] Sent: Thursday, May 17, 2012 6:24 PM To: Post all your questions about iText here Subject: Re: [iText-questions] HTML to PDF Hi Hugh, On 17 May 2012 23:47, Hugh

Re: [iText-questions] HTML to PDF

2012-05-17 Thread 1T3XT BVBA
On 16/05/2012 23:13, Hugh McLaughlin wrote: Hello Everyone and thanks for your help in advance. I am using iTextSharp 5.1.2.0 and want to convert HTML to PDF. I am going through the documentation and numerous posts. I attempted to utilize the HTML parser without success. It appears the

Re: [iText-questions] HTML to PDF

2012-05-17 Thread Hugh McLaughlin
itext.xmlworker 1.1.3 with VB in VS 2010. The rest of the sample code gives me no compiler errors. What am I not understanding? From: 1T3XT BVBA [mailto:i...@1t3xt.info] Sent: Thursday, May 17, 2012 3:56 AM To: Post all your questions about iText here Subject: Re: [iText-questions] HTML to PDF On 16

Re: [iText-questions] HTML to PDF

2012-05-17 Thread Alexis Pigeon
Hi Hugh, On 17 May 2012 23:47, Hugh McLaughlin h...@kmcnetwork.com wrote: Ok, I’ve switched over to XMLWorker, and studied the documentation and example at: ** ** http://demo.itextsupport.com/xmlworker/itextdoc/flatsite.html ** ** However, I receive an error on the first

[iText-questions] HTML to PDF

2012-05-16 Thread Hugh McLaughlin
Hello Everyone and thanks for your help in advance. I am using iTextSharp 5.1.2.0 and want to convert HTML to PDF. I am going through the documentation and numerous posts. I attempted to utilize the HTML parser without success. It appears the solution is very dependent on the version of

[iText-questions] Html to pdf question around bullet points in Itext 5.2.2

2012-04-11 Thread Patrick Donnelly
Hi , I've downloaded the latest version of itext and built it ie 5.2.2 and have an issue with bullet points and ordered lists in pdf document generation. I have a html document which I generate a pdf from using the HTMLWorker to parse the html. sample html : ol lispan

Re: [iText-questions] HTML to PDF - XMLWorker Ordered Lists?!?

2011-11-30 Thread Balder VC
or any other changes are done. HTH - keith Date: Tue, 29 Nov 2011 13:58:44 -0500 From: stephenmb...@gmail.com To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] HTML to PDF - XMLWorker Ordered

Re: [iText-questions] HTML to PDF - XMLWorker Ordered Lists?!?

2011-11-29 Thread Balder VC
It's easily reproduced. It could be a bug. Can't explain what's happening, yet. Don't have time right know. On 27/11/2011 19:39, Stephen Bell wrote: I am looking to convert the generated HTML output from an ASPX page to a PDF file. I have this sort of working using the XMLWorker. The ASPX /

Re: [iText-questions] HTML to PDF - XMLWorker Ordered Lists?!?

2011-11-29 Thread Stephen Bell
Thanks for the response. An explanation eventually would be pretty sweet. I will continue to look for a workaround, short of hard coding the numbering in the html. On Tue, Nov 29, 2011 at 1:51 PM, Balder VC li...@redlab.be wrote: It's easily reproduced. It could be a bug. Can't explain

Re: [iText-questions] HTML to PDF - XMLWorker Ordered Lists?!?

2011-11-29 Thread Keith O
5.1.3 this weekend (THANK YOU!), so it may be a while before the .NET version of XML Worker 1.1.1 or any other changes are done. HTH - keith Date: Tue, 29 Nov 2011 13:58:44 -0500 From: stephenmb...@gmail.com To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] HTML to PDF

Re: [iText-questions] HTML to PDF - XMLWorker Ordered Lists?!?

2011-11-29 Thread Paulo Soares
The .NET version of XML Worker 1.1.1 will be available next Monday. Paulo - Original Message - From: Keith O To: itext-questions@lists.sourceforge.net Sent: Tuesday, November 29, 2011 9:29 PM Subject: Re: [iText-questions] HTML to PDF - XMLWorker Ordered Lists?!? Download

[iText-questions] HTML to PDF - XMLWorker Ordered Lists?!?

2011-11-27 Thread Stephen Bell
I am looking to convert the generated HTML output from an ASPX page to a PDF file. I have this sort of working using the XMLWorker. The ASPX / HTML page that I am looking to convert has an orderd list on it - what I am seeing is for list items 1-9 everything comes out perfect. Once I get to

Re: [iText-questions] HTML to PDF with XMLWorker

2011-10-15 Thread Balder VC
Hi, A PDF is not a browser, while creating your HTML you should still bare in mind that the end result will be a PDF. Couple tips: It's better to write measures in points (pt). Then no conversion is done by the XMLWorker. It's a good idea to check the supported tags (in the documentation or

Re: [iText-questions] HTML to PDF with XMLWorker

2011-10-15 Thread Mark Ramos
Thanks again Balder, The only challenge we had is that the input of all these html is from a CKEditor to make contents in liferay. Also, by using CKEditor, one of the scenarios/cases is to paste contents from a word document directly to CKEditor. Then when the content is rendered in html we have

Re: [iText-questions] HTML to PDF with XMLWorker

2011-10-15 Thread Balder VC
Pasted content from word, ( /me shivers ). Word aint the best thing for producing html :) it's word then that uses font tag. Maybe word can be configured to output pt instead of px and in, and to produce fixed width tables, or not to nest tables. But I fear for it. I think your best option

Re: [iText-questions] HTML to PDF with XMLWorker

2011-10-15 Thread Mark Ramos
Hi Balder, I most certainly agree with that. It was not our expected scenario before. :) Thanks for all the info and guide you've provided. I'll check on them and see what I can come up with. Will keep in touch once I have update on it. Your help is very much appreciated! Sincerely, Mark On

[iText-questions] HTML to PDF with XMLWorker

2011-10-14 Thread Mark Ramos
Hi, Thanks for the links Balder. I tried to render the enclosed html file to pdf and I did not get a good result. Please check the attachments. I used this code snippet: Document document = new Document(PageSize.LETTER); PdfWriter instance = PdfWriter.getInstance(document,

Re: [iText-questions] HTML to PDF

2011-10-13 Thread Balder VC
You should try that with the XMLWorker http://demo.itextsupport.com/xmlworker/ http://lowagie.com/xmlworker http://java.dzone.com/announcements/itext-511-%E2%80%94-xml-worker-100 http://sourceforge.net/projects/xmlworker/ On 10/13/2011 09:17 AM, Mark Ramos wrote: Hello, I would like to ask

Re: [iText-questions] HTML to PDF

2011-09-26 Thread 1T3XT BVBA
On 25/09/2011 23:46, Hugh McLaughlin wrote: Hello Everyone and thanks for your help in advance. I am new to iText and am currently using VB.Net to code the application. I am in need of converting HTML pages to PDF and could really use some CSS support as well. I have tried using the HTML

[iText-questions] HTML to PDF

2011-09-25 Thread Hugh McLaughlin
Hello Everyone and thanks for your help in advance. I am new to iText and am currently using VB.Net to code the application. I am in need of converting HTML pages to PDF and could really use some CSS support as well. I have tried using the HTML to PDF wrapper found at

Re: [iText-questions] HTML to PDF

2011-02-24 Thread Vivek Krishnan
Hi, I changed my code to what you mentioned Vibhav, but still no success, here is what the code looks like now. document = new Document(PageSize.A4); PdfWriter.getInstance(document, new FileOutputStream("ContactSheet02.pdf"));

Re: [iText-questions] HTML to PDF

2011-02-24 Thread Balder
On 24/02/2011 11:40, Vivek Krishnan wrote: Hi, I changed my code to what you mentioned Vibhav, but still no success, here is what the code looks like now. document = new Document(PageSize.A4);

[iText-questions] HTML to PDF

2011-02-23 Thread Vivek Krishnan
Hi, I have a HTML file with some images, the image are stored in a static location and the path is in the HTML are also static, When I try to print the PDF of it, I only get the text, but not the images. How do I solve this? Regards, Vivek

Re: [iText-questions] HTML to PDF

2011-02-23 Thread Nurettin DAG
You may look at PdfImageProvider. Basically, it is an interface that you need to implement to provide iText with the actual images for a given img URL src and attributes as found in your source. You can define custom transformations of src URL in your PdfImageProvider instance. Nurettin On Wed,

Re: [iText-questions] HTML to PDF

2011-02-23 Thread Vivek Krishnan
Hi Nurettin, Thanks for replying. I have checked that, my problem is that I have a well formed html file and I am reading the file in a Buffer and Document document=new Document(PageSize.A4); PdfWriter.getInstance(document,new FileOutputStream("Test.pdf"));

Re: [iText-questions] HTML to PDF

2011-02-23 Thread vaibhav gupta
Hi Vivek, The problem is that the image src path you have given is a relative. To use this you need to set *img_baseurl* property in the interface properties. To do this: *Dictionarystring, object interfaceProps = new Dictionarystring, object();* *interfaceProps.Add(img_baseurl, Actual Path to

[iText-questions] HTML to PDF

2010-03-11 Thread ssharma674
Hello, I am trying to create a PDF document from data that I pull from a database. One of the fields is a text field with has been entered through a Rich Text Editor. This editor saves the text as HTML. I need to take this text and insert it into a cell in the PDF and keep the formatting.

Re: [iText-questions] HTML to PDF

2010-03-11 Thread Paulo Soares
-questions] HTML to PDF Hello, I am trying to create a PDF document from data that I pull from a database. One of the fields is a text field with has been entered through a Rich Text Editor. This editor saves the text as HTML. I need to take this text and insert it into a cell in the PDF and keep

Re: [iText-questions] html to Pdf conversion using iText

2010-01-08 Thread 1T3XT info
itsdines wrote: i have images and data's in my html page when in convert to pdf i didn't get any error but image is not displayed in my pdf am using iText2.0.8 please help me Did you implement an ImageProvider? See http://itextpdf.com/examples/index.php?page=exampleid=56 -- This answer is

[iText-questions] html to Pdf conversion using iText

2010-01-07 Thread itsdines
i have images and data's in my html page when in convert to pdf i didn't get any error but image is not displayed in my pdf am using iText2.0.8 please help me -- View this message in context: http://old.nabble.com/html-to-Pdf-conversion-using-iText-tp27026580p27026580.html Sent from the iText

[iText-questions] HTML to Pdf

2009-11-19 Thread Nick Lim
Do anyone know about HTML table with picture as background and convert it to PDF using IText? I tried to convert the following line of HTML to PDF using IText, but the background picture never appears: td background='Images/kad mesra Statement Assets/Pg01/km_statement_p1bar01.jpg' Looking for

Re: [iText-questions] Html to Pdf

2009-05-05 Thread deep4u
Hello, I need to convert html to pdf, but html having Tabloe of contents after converting pdf the Table of contents are not working.How to resolve this. Thanks, 1T3XT info wrote: deep4u wrote: Hello, Bookmarks are not same as the Table of contents. I need TableOfContents.

[iText-questions] Html to Pdf (1T3XT info)

2009-05-05 Thread Mehmood
But I can see lot of tools that can convert an pdf to html. I also have a tool called cambridge docs which converts an existing pdf to html , So you say they all are stupid to write and show you the implementation ? What I need was how they do it and it is possible in i-text .. if not sorry dear

Re: [iText-questions] Html to Pdf (1T3XT info)

2009-05-05 Thread Mehmood
Thanks for the info Raheem. I will look on it. Sure Ragia I will send you the info. On Tue, May 5, 2009 at 11:31 AM, itext-questions-requ...@lists.sourceforge.net wrote: Html to Pdf (1T3XT info) -- !-- Mehmood.Z --

Re: [iText-questions] Html to Pdf (1T3XT info)

2009-05-05 Thread 1T3XT info
Mehmood wrote: But I can see lot of tools that can convert an pdf to html. I also have a tool called cambridge docs which converts an existing pdf to html , So you say they all are stupid to write and show you the implementation ? You could rasterize the PDF into images and make an HTML page

Re: [iText-questions] Html to Pdf (1T3XT info)

2009-05-05 Thread Raheem Rufai
-- Date: Mon, 4 May 2009 15:40:47 -0400 From: rru...@gmu.edu To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Html to Pdf (1T3XT info) Hi Mehmood, It is not possible in iText. You might want to take a look at PDFBox, instead. Admittedly as it3xt suggest

Re: [iText-questions] Html to Pdf (1T3XT info)

2009-05-05 Thread 1T3XT info
Mehmood wrote: Hi , The main requirement for me is to show the pdf in a swing based application. I tried Jpedal open source version but the main work for us will be to select the text first, extract the selected text and apply xml tags for it using the tool. (...) So knowing my

Re: [iText-questions] Html to Pdf

2009-05-05 Thread deep4u
Hello, I need to convert html to pdf, but html having Tabloe of contents after converting pdf the Table of contents are not working.How to resolve this. Thanks, deep4u wrote: Hello, I need to convert html to pdf, but html having Tabloe of contents after converting pdf

[iText-questions] Html to Pdf (1T3XT info)

2009-05-05 Thread Mehmood
) -- Message: 1 Date: Tue, 5 May 2009 05:48:41 -0400 From: Raheem Rufai rru...@gmu.edu Subject: Re: [iText-questions] Html to Pdf (1T3XT info) To: Post all your questions about iText here itext-questions@lists.sourceforge.net Message-ID

Re: [iText-questions] Html to Pdf

2009-05-05 Thread 1T3XT info
deep4u wrote: Hello, I need to convert html to pdf, but html having Tabloe of contents after converting pdf the Table of contents are not working.How to resolve this. Write your own (X)HTML handler to deal with this. This was answered before. Please don't repeat this question or

Re: [iText-questions] Html to Pdf (1T3XT info)

2009-05-05 Thread 1T3XT info
Mehmood wrote: PDFBOX is not complete even to the PDF to text is not there . Anyways will work on their source code . Thanks. No, it isn't. If you're thinking of writing your own implementation, have a look at the code in com.lowagie.text.pdf.parser It's a first version of iText's PDF

Re: [iText-questions] Html to Pdf

2009-05-05 Thread deep4u
Hello, How to write own (X)HTML handler. For this you have any sample code or any related links please share me. Thanks, 1T3XT info wrote: deep4u wrote: Hello, I need to convert html to pdf, but html having Tabloe of contents after converting pdf the Table of contents

Re: [iText-questions] Html to Pdf

2009-05-05 Thread 1T3XT info
deep4u wrote: Hello, How to write own (X)HTML handler. For this you have any sample code or any related links please share me. I repeat: Go to the keywords page: http://1t3xt.be/?X0004c8 Do Ctrl+F to search for the words writing your own Handler. Click on those words and you'll find:

[iText-questions] Html to Pdf

2009-05-04 Thread deep4u
Hello, Bookmarks are not same as the Table of contents. I need TableOfContents. suppose one html file having Tableofcontents after generating pdf also those will be work. I am uploading my html file using that to convert pdf and also those TOC will be work. Thanks, Leonard Rosenthol-3

Re: [iText-questions] Html to Pdf

2009-05-04 Thread 1T3XT info
deep4u wrote: Hello, Bookmarks are not same as the Table of contents. I need TableOfContents. suppose one html file having Tableofcontents after generating pdf also those will be work. I am uploading my html file using that to convert pdf and also those TOC will be work. Yes. -- This

Re: [iText-questions] Html to Pdf (1T3XT info)

2009-05-04 Thread Mehmood
Flying saucer seems to create a pdf or html from xml and css . But what I need is to convert a PDF to HTML format. Is this is possible in iText? -- !-- Mehmood.Z -- -- Register Now Save for Velocity, the Web

Re: [iText-questions] Html to Pdf (1T3XT info)

2009-05-04 Thread 1T3XT info
Mehmood wrote: Flying saucer seems to create a pdf or html from xml and css . But what I need is to convert a PDF to HTML format. Is this is possible in iText? No, you won't find any tool that can convert PDF to HTML because it's a stupid question: Read

Re: [iText-questions] Html to Pdf (1T3XT info)

2009-05-04 Thread Raheem Rufai
Hi Mehmood, It is not possible in iText. You might want to take a look at PDFBox, instead. Admittedly as it3xt suggest, it is a horribly difficult task. Even Adobe Acrobat doesn't do a perfect job of it, so don't expect a perfect job from PDFBox either. However, depending on your purpose, you

Re: [iText-questions] Html to Pdf (1T3XT info)

2009-05-04 Thread Ragia Ibrahim
Hi, Reham ...mohammed please if you have further refrences about PDBox how it works how does it read the pdf send it Ragia Date: Mon, 4 May 2009 15:40:47 -0400 From: rru...@gmu.edu To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Html to Pdf (1T3XT info) Hi

[iText-questions] Html to Pdf

2009-04-29 Thread deep4u
Hello, I have to convert Html to pdf using itext and Htmlworker libraies. Its great working fine, but the html file having some links(like sections, internal links ,Table of contents) not working after generating pdf. I upload my html file could you see that once and also please let me

[iText-questions] HTML to PDF Converter

2009-03-09 Thread svattiku
Hi, We have a web application that has a download button. Currently, if we click that download button, we are downloading a html file with all the style sheets and the images to the local machine. We need to change this functionality as follows: If user clicks the download button, instead of

Re: [iText-questions] HTML to PDF Converter

2009-03-09 Thread 1T3XT info
svattiku wrote: Please let me know how to implement this functionality using iText. You don't! Use something like Flying Saucer. It uses iText as PDF engine, but brings you the HTML interpreting part iText lacks. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ -

Re: [iText-questions] HTML to PDF Conversion - Need help

2009-03-06 Thread 1T3XT info
Subrahmanya, Rama Krishna wrote: Hi, I am trying to convert *.html* File to *.pdf* file using iText library. I need a sample java program which will accept .html file (with tables and stylesheets and all other tags) as input and provide .pdf as output file. iText is NOT a full blown HTML

Re: [iText-questions] HTML to PDF Conversion - Need help

2009-03-06 Thread Subrahmanya, Rama Krishna
Subject: Re: [iText-questions] HTML to PDF Conversion - Need help Subrahmanya, Rama Krishna wrote: Hi, I am trying to convert *.html* File to *.pdf* file using iText library. I need a sample java program which will accept .html file (with tables and stylesheets and all other tags) as input

Re: [iText-questions] HTML to PDF Conversion - Need help

2009-03-06 Thread Harakiri
--- On Fri, 3/6/09, Subrahmanya, Rama Krishna ramakrishna.subrahma...@standardchartered.com wrote: From: Subrahmanya, Rama Krishna M Can I use any other library or some tool to convert pure html to pdf? Appreciate your guidance. xhtmlrenderer.dev.java.net or numerous commerical solutions

Re: [iText-questions] HTML to PDF: div with line height attribute value of normal

2009-02-07 Thread 1T3XT info
Steve Carrow wrote: Just to get this into the archives: the response was correct in that parseLength returns 0 if the argument does not start with a number. For line-height: normal this behavior clearly breaks things. I posted a bug report at:

[iText-questions] HTML to PDF: div with line height attribute value of normal

2009-02-04 Thread Steve Carrow
Just to get this into the archives: the response was correct in that parseLength returns 0 if the argument does not start with a number. For line-height: normal this behavior clearly breaks things. I posted a bug report at:

Re: [iText-questions] HTML to PDF: div with line height attribute value of normal

2009-01-28 Thread 1T3XT info
Steve Carrow wrote: Using the most recently released version of iText, we are trying to allow conversion of autogenerated HTML pages to PDF. A frequent construct is the use of consecutive div elements, of which the following is a simplified example: div style=MARGIN: 0in 0in 0pt;

[iText-questions] HTML to PDF: div with line height attribute value of normal

2009-01-25 Thread Steve Carrow
Using the most recently released version of iText, we are trying to allow conversion of autogenerated HTML pages to PDF. A frequent construct is the use of consecutive div elements, of which the following is a simplified example: div style=MARGIN: 0in 0in 0pt; LINE-HEIGHT: normalstrongufont

[iText-questions] HTML to Pdf Paragraph Using ColumnText -- Parsing issue.

2008-07-20 Thread pickm
I know this is a part of iText that is not primary, but I am attempting to add HTML to a Pdf Paragraph based on bits and pieces of advice I found through the mailing list and the book. I put together the test class that I have attached and I am having some problems. I wanted to see if there was

Re: [iText-questions] HTML to Pdf Paragraph Using ColumnText -- Parsing issue.

2008-07-20 Thread pickm
I seemed to have looked at all mailing list posts except the correct one (titled StyleSheet / HtmlWorker and granular font size). I changed the addHtml... method and the lists are working well. Putting the HTMLWorker output into a paragraph was not working. // new code public void

[iText-questions] HTML to PDF Convertison in VB.NET or C#.NET - using iTextSharp

2008-07-05 Thread Jawahar
Dear Sir, Since Mr. Kapesh is on Vacations up to 18th of this month, I am writing this to you, as per his directions. This is Jawahar and new to IText, very recently I knew about iText. As per my readings about iText, I understood that it has version of iTextsharp which is developed

Re: [iText-questions] HTML to PDF Convertison in VB.NET or C#.NET - using iTextSharp

2008-07-05 Thread 1T3XT info
Jawahar wrote: Dear Sir, Since Mr. Kapesh is on Vacations up to 18^th of this month, I am writing this to you, as per his directions. ??? Who is Mr. Kapesh and why is he saying you should mail to the iText mailing list??? This doesn't make much sense. This is Jawahar and new to IText,

[iText-questions] HTML to PDF using iText (HTMLWorker?)

2008-05-30 Thread JD Corbin
Does your product support converting mildly complex HTML to PDF format? The HTML we will be rendering using PDF will have Tables. J.D. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R)

Re: [iText-questions] HTML to PDF using iText (HTMLWorker?)

2008-05-30 Thread AJ Weber
. As always, it seems YMMV. Good Luck, AJ - Original Message - From: JD Corbin To: itext-questions@lists.sourceforge.net Sent: Friday, May 30, 2008 10:57 AM Subject: [iText-questions] HTML to PDF using iText (HTMLWorker?) Does your product support converting mildly complex HTML

[iText-questions] HTML to PDF - Parsing non-numerical lists

2007-04-02 Thread Tim Church
I am trying to convert an HTML document to PDF using iText. For the most part, this works fine using the basic HtmlParser.parse. However, there are several nested ol lists of varying types - Numerical, Uppercase Roman, Lowercase Roman, Uppercase Alpha, Lowercase Alpha. The HTMLParser treats

Re: [iText-questions] Html to Pdf conversion

2007-03-16 Thread S�rgio Oliveira
Don´t know if itext it´s the best tool. Try FOP. From: Eusabia [EMAIL PROTECTED] Reply-To: Post all your questions about iText here itext-questions@lists.sourceforge.net To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Html to Pdf conversion Date: Mon, 12 Mar 2007 11:02

[iText-questions] HTML to PDF

2007-03-12 Thread Gianluca DAlessandro
Hi, i tried to convert html files to pdf, but entities #xxx which have xxx value up to 255 are not visualized in pdf file. I've also a problem with images. In html text containing images and text, if images dimension is up to 100 X 100 pixels, text cover the image. There are solutions to

[iText-questions] Html to Pdf conversion

2007-03-12 Thread Eusabia
Hi, Can anyone help me with Html To Pdf conversion using itext. Thanks Eusabia - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on

Re: [iText-questions] HTML to PDF

2007-03-12 Thread Stuart Jansen
On Mon, 2007-03-12 at 10:14 +0100, Gianluca DAlessandro wrote: i tried to convert html files to pdf, but entities #xxx which have xxx value up to 255 are not visualized in pdf file. I've also a problem with images. In html text containing images and text, if images dimension is up to 100 X

Re: [iText-questions] Html to Pdf conversion

2007-03-12 Thread Stuart Jansen
On Mon, 2007-03-12 at 11:02 +, Eusabia wrote: Can anyone help me with Html To Pdf conversion using itext. http://itext.ugent.be/library/question.php?id=40 -- Stuart Jansen [EMAIL PROTECTED] Guru Labs, L.C. signature.asc Description: This is a digitally signed message part

[iText-questions] HTML to PDF

2007-03-09 Thread Gianluca DAlessandro
Hi, i'd like to convert HTML file to PDF using iText. If this is possible, can you say me what are the steps to do ? Thanks! - L'email della prossima generazione? Puoi averla con la nuova Yahoo!

[iText-questions] HTML to PDF

2007-03-09 Thread Gianluca DAlessandro
Hi, i wrote the following code to convert HTML file to PDF: FileReader fr = new FileReader(c:/file.html); // step 4: we add a paragraph to the document ArrayList elementlist = HTMLWorker.parseToList(fr, null); for (int i = 0; i elementlist.size(); i++) {

Re: [iText-questions] HTML to PDF

2007-03-09 Thread Bruno Lowagie
Gianluca DAlessandro wrote: but in the pdf file elements corresponding to html tags are sovrapposed. What does sovrapposed mean? If you mean the words are covering each other: I have fixed this in iText 2.0.1. br, Bruno -

Re: [iText-questions] html to pdf

2007-02-21 Thread roseline
HI, I am also lookin out for a HTML to PDF converter...did you get one? Please help me how you did it? nafise hasani wrote: Hi I want to convert html to pdf as I saw itext can not do this,Do you know any open source java framework that do this for me?

Re: [iText-questions] html to pdf

2007-02-21 Thread porcupine
please check the following threads, HTML to PDF support is there, although as Bruno has mention before HTML is a lower priority and therefore some caveats, also check out iText v2 I believe there are now more features. http://www.nabble.com/How-to-convert-HTML-into-PDF--tf2040067.html#a5619917

Re: [iText-questions] HTML to PDF table problem

2007-01-11 Thread rachel.kozlowski
] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kozlowski, Rachel (TH USA) Sent: Wednesday, January 10, 2007 3:22 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] HTML to PDF table problem I accidently gave you all the wrong HTML. I

[iText-questions] HTML to PDF table problem

2007-01-10 Thread rachel.kozlowski
Hi All: Every time I create a pdf from html the first column of the table takes up half the page even though the first column width is set at 5%. I would like the first column to be about 5%. I have attempted totally removing the width from the html. Any thoughts or suggestions are

  1   2   >