使用itext將html生成pdf中文換行問題解決方案2

前面的文章《使用itext將html生成pdf中文換行問題解決方案》是使用itext2.0.8版本實現,這裏使用itext5.4.2實現,這裏用到了itext-asian.jar和xmlworker-5.4.2.jar的支持,最新版的實現會比較簡單:貼上代碼:css   import com.itextpdf.text.BaseColor; import com.itextpdf.text.Fon
相關文章
相關標籤/搜索