Problem with HTMLParser in Itextsharp -
To change html but HP does not convert the htmlparser into PDF just to the first line, all other rows from the html file are converted into pdf here
document document = new document (); Final = new document ();
stream writer writer = new streamer ("fck.txt"); Author.WriteLine (FCKeditor1.Value); Writer.Close (); // File file to extending the extension of the txt file file to the file. Mac ("C: \\ Program Files \\ Microsoft Visual Studio 9.0 \\ General 7 \\ IDE \ fck.txt", "C: \ Program Files \\" Microsoft Visual Studio 9.0 \\ General 7 \\ IDE \\ Fck.html "); PDF Author Writer 1 = PDF Writer. Get Instance (Last, New Filestream (" Last 1 PDF ", Flamemade Create)); final.Open (); HtmlParser.Parse (Final," fck.html "); Final.Close (); Delete file (" C: \\ Program Files \\ Microsoft Visual Studio 9.0 \\ stuff Y 7 \\ IDE \\ fck.html "); Please help me please thank anybody in advance for help
I use the StreamReader tempReader = New StreamReader (tempFile); ArrayList p = HTMLWorker.ParseToList (tempReader) (Int k = 0; k & lt; p.qount; k ++) {documento.Add ([IElement] p [k]);} TempReader.Dispose (); documento.Close () ;
and works fine but I finally put the settlement
Comments
Post a Comment