I'm trying to convert html to pdf using
SAXiTextHandler as part of Chap0706.java example

Instead of print on default position, I'd like to
print at specified the starting position.  

Below are my code. When I ran the code, I couldn't see
the result.  


if (Phrase.isTag(name) || Anchor.isTag(name) ||
List.isTag(name) || Paragraph.isTag(name)) {
 .... some code 


  catch (EmptyStackException ese) {
     // document.add(current); this is existing code.
ColumnText colText = new ColumnText(pdfContentByte);
colText.setSimpleColumn(
        (Phrase) current,
        x, 
        y, 
        width, 
        height,
        0,                                              0
);
colText.go();



                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to