Hello everybody, i need some help. I believe someone can help me and i'll be
very thank you for that's help.
It's problem occur when i meet code html like :
<ol>
  <p>paragraph one</p>
  <p>paragraph two</p>
  <ul>
    <li>list one</li>
  </ul>
  <p>paragraph three</p>
  <ul>
    <li>list two</li>
  </ul>
  <p>paragraph four</p>
<ol>

when it's occur, "paragraph three","four", and so on not display. But the
"list one" and "list two" still display. It's occur just for paragraph.

My code :

ArrayList p = HTMLWorker.parseToList(new StringReader(stringHtml),
styleSheet);
for (int k = 1; k < p.size(); ++k){
     document.add((Element)p.get(k));
}


-- 
View this message in context: 
http://www.nabble.com/Problem-in-convert-html-to-pdf-tp19405744p19405744.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to