tried to apply the patch for the validation error from the sample on mustangproject
This commit is contained in:
@@ -1478,6 +1478,10 @@ public class ZUGFeRDExporter {
|
|||||||
cosArray = new COSArray();
|
cosArray = new COSArray();
|
||||||
}
|
}
|
||||||
cosArray.add(fs);
|
cosArray.add(fs);
|
||||||
|
COSDictionary dict2 = doc.getDocumentCatalog().getCOSDictionary();
|
||||||
|
COSArray array = new COSArray();
|
||||||
|
array.add(fs.getCOSDictionary()); // see below
|
||||||
|
dict2.setItem("AF",array);
|
||||||
doc.getDocumentCatalog().getCOSDictionary().setItem("AF", cosArray);
|
doc.getDocumentCatalog().getCOSDictionary().setItem("AF", cosArray);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user