Hi list,

Now I ran into another problem regarding HTMLWorker.
When I run tha code you suggested for this piece of HTML :

<p>&nbsp;</p>
<p>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa</p>
<p>asd asd asd <span style="font-size: medium;">asd 4 fghfghfgj fgk asgjdk
asjk sadg askdh askdg asdjkg askjdg asjkdgha sjkadg sjkdg askdg aksjdg aksdg
askdga sdkgaskdjgh asdkg askdg aksdgh ahdg asdkhgahsdg asjkdg asgd asjdg
ahsdkg askdg askgd aksdgj asjkdg asjkd akj</span></p>
<p><em>asdasdadj lk sdjaklsjkd</em> a</p>
<p>privind expeditia:<br />Data expeditiei: Borderou: Pozitie</p>
<p>asdkajsldj <span style="text-decoration: underline;">asd asd asd</span>
asd d asd asdasd</p>
<p>adsdasdasd <strong>asdjkg asdf sdasd casd</strong> csdc asdh ajkas da</p>
<p>d asdkj asd</p>
<p>&nbsp;s]daid as</p>
<p>d</p>
<p>aopsd</p>
<p>asd</p>
<hr />

It throws this exception :

com.itextpdf.text.DocumentException: java.lang.IllegalArgumentException: No
message found for font.size.too.small.1

I think there is something related to styles.

Thanks for any suggestion,
NArcis
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to