Hi ,
I am converting HTML file to PDF .
I have used HtmlParse in that.
Following is the code
HtmlParser parser1 = new HtmlParser();
try{
String str1 = new
String("<blockquote><div>"+profDetailForm.getBVI_Bio().getStringProperty("EDU_TEXT")+"</div></blockquote>");
byte[] bytes1 = str1.getBytes();
parser1.go(document,(new ByteArrayInputStream(bytes1)));
}catch(Exception e){}
Here It displays the text in default fonts and margins on PDF.
I want to change the display of that text.
Should I use Stylesheet ? Please explain in detail as soon as possilbe.
Thanks in advance.
--
View this message in context:
http://www.nabble.com/How-to-use-stylesheet-fot-parsing-HTML---tf3905517.html#a11073036
Sent from the iText - General mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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/