While running the parsingsample on the attached file I get this exception.
Document information:
Title: combo
CreationDate: 8/18/2014 8:13:40 AM
ModDate: 8/18/2014 8:13:40 AM
Producer: ImageMagick 6.6.9-7 2012-08-17 Q16 http://www.imagemagick.org
Document metadata (XMP):
No metadata available (Metadata stream doesn't exist).
Iterating through the indirect-object collection (please wait)...
An exception happened while running the sample:
System.Exception: Unknown type: Keyword
at org.pdfclown.tokens.BaseParser.ParsePdfObject()
at org.pdfclown.tokens.FileParser.ParsePdfObject()
at org.pdfclown.objects.PdfIndirectObject.get_DataObject()
at org.pdfclown.samples.cli.ParsingSample.Run()
at org.pdfclown.samples.cli.SampleLoader.Run(String inputPath, String outputPath)
The PDF appears to have no Keywords in Acrobat but yet it must.
Thanks,
Darren
The exception was caused by the incorrect parsing of empty indirect objects (it assumed that any indirect object would explicitly contain a PDF object).
Fixed on 0.1.2-Fix branch (rev 161) and 0.2.0 trunk (rev 162).
thank you