[
https://issues.apache.org/jira/browse/PDFBOX-3914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16147546#comment-16147546
]
ASF subversion and git services commented on PDFBOX-3914:
---------------------------------------------------------
Commit 1806710 from [~tilman] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1806710 ]
PDFBOX-3914: no longer ignore OCProperties on import, as suggested by Ivan
Khaldeev
> LayerUtility ignores OCProperties on import
> -------------------------------------------
>
> Key: PDFBOX-3914
> URL: https://issues.apache.org/jira/browse/PDFBOX-3914
> Project: PDFBox
> Issue Type: Bug
> 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]