iText填充现有表格PDF [英] iText Filling existing table PDF

查看:489
本文介绍了iText填充现有表格PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在PDF中填写现有表格. 我在iText上找到了一些示例,但它们总是创建一个新表然后填充它.

I'm trying to fill an existing table in my PDF. I found some examples on iText but they always create a new table and then fills it.

就我而言,我已经创建了一个表,现在我想为此添加行? 可以这样做吗?

In my case I have already created a table and now I want to add rows to this? Is it possible to do this?

推荐答案

操作方法-在jtable中添加行 可能会帮助您.您可以使用Jtable的内置打印方法来打印表,而不是iText.转到链接以获取更多信息.

How-to-add-row-in-jtable may help you. Instead iText, You can print your table using Jtable's built in print method. Go to this link for more.

谢谢.

这篇关于iText填充现有表格PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆