开发者

How to export data from the MS Access to PDF using Java? [closed]

开发者 https://www.devze.com 2023-03-03 02:54 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Clo开发者_如何学Csed 11 years ago.

Hi i need to access data from msaccess like author,version,keywords,pdf name and same update to same pdf filea using java code.


Generally the way to do this is to connect to MS Access using jdbc. See here: http://www.javaworld.com/javaworld/javaqa/2000-09/03-qa-0922-access.html

Once you have a connection to the access database you will want to write some queries to pull out the information you need: http://www.heimetli.ch/jdbc/JDBCQuery.html

Next you'll need to create a report and export it to pdf. I recommend using JASPER reports (http://jasperforge.org/projects/jasperreports).

If your not pretty decent with java, this could easily turn into a long process. There are several steps, pieces that you need to get to work together. Give your self some time to figure it out.


From what I understand, you want to update a PDF's metadata. And you want the input to be from MS Access. I have not used itext, but perhaps this post for the C# equivalent will help with the part where you modify PDFs: Read/Modify PDF Metadata using iTextSharp

0

精彩评论

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