[
https://issues.apache.org/jira/browse/PDFBOX-3914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-3914:
------------------------------------
Component/s: Utilities
> LayerUtility ignores OCProperties on import
> -------------------------------------------
>
> Key: PDFBOX-3914
> URL: https://issues.apache.org/jira/browse/PDFBOX-3914
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.0.7
> Reporter: Ivan Khaldeev
> Attachments: hidden_layer.pdf, import_oc_properties.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]