> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Monday, October 03, 2005 3:30 PM > To: [email protected] > Subject: [iText-questions] HTMLWorker and Table Cell > > > iText is great and the documentation is awesome - thanks so > much for this! As usual, I am trying to do something that I > am not sure I can find an example for, although it looks like > from what I have read in the archives, it can be done. (I'm > a good newbie, I search first, then ask questions!) > > I am a Domino programmer and what I am trying to do is > convert a Domino web document into a PDF. For non-domino > people, what I am basically doing is using Java to pull data > from a database to create a PDF. > > I have successfully been able to convert the entire document > in the layout I desire into PDF with one exception. Some of > the fields I have - text area fields - contain very simple > HTML code (like bold and font color). This is because we > allow the user to use a pop-up window to use a rich text > editor (in this case, JSpell). The field contains very > simple HTML and I have successfully used HTMLWorker to > convert it onto the page, just not in the location I need it. > > What I need to figure out how to do, is to take these text > area fields containing simple HTML and put it into a > particular table cell in my PDF, formatted with all the bolds > and colors the user has indicated. > > If someone can point me in the right direction, I really > would appreciate it. I've tried parseToList. This gets me > sort of close, but I still have an object trying to stuff > into the cell rather than text. >
parseToList and PdfPCell.addElement() should work. > Thank you so much for any help! > > :) Lisa > > ------------------------------------------------------- This > SF.Net email is sponsored by: Power Architecture Resource > Center: Free content, downloads, discussions, and more. > http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
