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
精彩评论