开发者

Best way to modify PDFs using iText?

开发者 https://www.devze.com 2023-03-04 18:29 出处:网络
Scenario: Clients will be providing me with PDF-templates. I need to programmatically fill these with information.

Scenario: Clients will be providing me with PDF-templates. I need to programmatically fill these with information. Question: What is the best way to do this?

Say for example a client sends me the beautiful template seen below and I want to fill in the Price Field. The research I've done so far has led me to believe that there is 开发者_Go百科no way for me to programmatically 'understand' where the Price Field is, is this correct? A workaround I've heard of is creating another template on top of the existing template. I want to make this as hassle-free as possible, is there a program that let's me create a template easily using say drag-and drop forms, with another template as a base? Then perhaps I could load the clients template, then my own created template, populate that with values and merge it all into one PDF. Is this a sensible approach?

Very thankful for any thoughts or suggestions.

Best way to modify PDFs using iText?


try to use birt viewer plugin for eclipse reporting tool.. you can generate reports on templates .. and there is automatically pdf creator..

http://www.eclipse.org/birt/phoenix/deploy/viewerUsage.php


This worked for me.

0

精彩评论

暂无评论...
验证码 换一张
取 消