This question may seem stupid, but, so be it! I have a stupid problem then :-). Well, my problem is this : using this code
//PDF generation
PdfWriter.getInstance(document,
new FileOutputStream("PDFFile.pdf"));
//RTF generation
RtfWriter2.getInstance(document,
new FileOutputStream("RTFFile.rtf"));
//HTM generation
HtmlWriter.getInstance(document,
new FileOutputStream("HTMLFile.htm"));
(and some other lines) with iText version 2.1.7, every computer geek is able to produce files in PDF, RTF or HTM file formats from his Java code. Now, i've upgraded iText to latest version (5.0.0) and i am unable to locate RtfWriter2 (or old RtfWriter) or HtmlWriter. To be concise, i was wondering if anyone has any idea if the support for those file types was even maintained, since every search on web-search engines obviously pointed me to previous versions of iText, where, apparently, one was able to do everything. Any hints on the matter?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…