I am converting the html data to pdf, but i have got white space where some big data will be inserted
Mill margin (1), 20); `Document.setMarginMirroringTopBottom (true);` string path = dao.gettomcatserverPath1 () + "webpage / word image / dsch" + + + Patid + ".pdf"; `Pdfwriter author = pdfWriter.getInstance (document, new FileOutputStream (path)); `String html =" "; List list 1 = dao.executeQuery (select the version from ip.dischargetemplate where patid = '+ + "+ +" + "" ""); Html = ((map) list1.get (0)). Obtain ("WORDOLE"). ToString (); InputStream _ishtml = new bytereinputstream (html.getBytes ()); Headerfuetter = new headerfooter (); `Author .SetPage Event (Event);` Authors. Setboxesis ("art", new rectangle (36, 54, 55 9, 788)); `Document.open ();` font font = .getFont ("Times Roman"); XMLWorkerHelper.getInstance (). ParseXHtml (author, document, _ishtml); `Document.close ();`
No comments:
Post a Comment