is there any other way other than HtmlWorker? I might have to redesign the
whole application..

Bruno Lowagie (iText) wrote:
> 
> [EMAIL PROTECTED] wrote:
>> can you please explain me further.  In my case, users create Letter
>> templates using TinyMCE editor. the output of the editor is a letter
>> body(html text ) . I get the letter head logo, salutation , addresses etc
>> from database. I create Itext Elements(Paragraphs added to PdfPTable) to
>> create a PDF Page upto the point where I have only body to be added.  At
>> this point, I use the code below to add the body. after this I add the
>> signature etc.
>> 
>> HtmlParser.parse(letterDocument, new
>> StringReader(readyJob.getContent()),htmlTagMap);
>> 
>> Other than Parsing, I am not exactly sure how else I can add content from
>> different sources to one page. I am parsing as above since I do not want
>> to check each and every tag coming from the editor.tags that might in
>> html include div, span, <p>. some times the text comes without <p> tags
>> too.         
> 
> Stay on the mailing list please!!!
> Do not use my personal address!!!
> Have you looked at class HTMLWorker?
> br,
> Bruno
> 
> -------------------------------------------------------------------------
> 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 IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Paragraph-Spacing%3A-setLeading-adds-space-between-each-line-in-paragraph-and-spacingBefore-does-not-work-tf3396530.html#a9488782
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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 IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to