Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.7
-
None
-
Patch
Description
LayerUtility ignores OCProperties on import, this leads to hidden layers (Optional Content Groups) become visible after import.
You could reproduce bug in org.apache.pdfbox.examples.pdmodel.SuperimposePage example with provided PDF.
Attached patch fixes issue.
Other way to approach this is make LayerUtility.cloner available via getter and require dealing with OCProperties in userland code.