Hi,

> Question is here:
> 
> Using the PDFBox api, is it possible to work out if a certain pdf file
> was created using PDF package or PDF portfolio?
> 
> If so, please tell me how.
It depends on the behaviour of the tools you mentioned above. If they add some 
information to the document it should be possible to identify them. There are 2 
possible locations for those information.

1) as document information: see PDDocument.getDocumentInformation [1],[2]
2) as meta data: see ExtractMetaData example [3]


BR
Andreas Lehmkühler

[1] 
http://svn.apache.org/repos/asf/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
[2] 
http://svn.apache.org/repos/asf/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/examples/pdmodel/PrintDocumentMetaData.java
[3] 
http://svn.apache.org/repos/asf/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/examples/pdmodel/ExtractMetadata.java

Reply via email to