当我尝试将图像直接插入到ImageFieldMergingArgs中时,它使用以下代码正确地显示在表格单元格中... override fun imageFieldMerging(imageFieldMergingArgs: ImageFieldMergingArgs) {
val fieldValue = imageFieldMergingArgs.fieldValue
if (fieldValue is DataString) {
val decodedImage = fieldValue.decode()
我们需要将HTML文件转换为PDF文件。为此,我们使用了IText API。如果HTML的正文中有一些图像,则IText API无法将该图像放入PDF中,并引发以下异常。
ExceptionConverter: java.io.FileNotFoundException: D:\cid:870001313@01022011-2B8B (The system cannot find the file specified).
如果HTML的正文中有一些图像,那么可以读取该图像并将其作为PDF文件的附件吗?
如果HTML有一些表,那么生成的PDF就会丢失表格格式,而只是将数据放入PDF中