Charles,
You could try to use
http://pdfbox.apache.org/ and http://poi.apache.org/.
Get the file in java and create a new pdf from that and store it as a System.FileDocument with the reference to the object created.