You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2019/09/03 16:56:00 UTC

[jira] [Resolved] (PDFBOX-4641) Keywords created using PDFBox are not visible in Acrobat

     [ https://issues.apache.org/jira/browse/PDFBOX-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr resolved PDFBOX-4641.
-------------------------------------
    Fix Version/s: 3.0.0 PDFBox
                   2.0.17
                   1.8.17
         Assignee: Tilman Hausherr
       Resolution: Fixed

Thanks [~mkl]; [~giladd] Considering that it is deprecated I only adjusted the javadoc, and won't bother with creating a new example.

> Keywords created using PDFBox are not visible in Acrobat
> --------------------------------------------------------
>
>                 Key: PDFBOX-4641
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4641
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 1.8.16, 2.0.16
>         Environment: Windows 7, Eclipse 4.2.2, Acrobat Pro 11.0.10
>            Reporter: Gilad Denneboom
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 1.8.17, 2.0.17, 3.0.0 PDFBox
>
>         Attachments: ApplyKeywords.java, Keywords test.pdf, Keywords test_added in Acrobat.pdf, Keywords test_edited.pdf
>
>
> Setting new keywords using PDFBox 2.0.16 inserts the data into the file (confirmed via the PDF Debugger and running a script in Acrobat), but the keywords are not displayed in the Acrobat GUI. This might be a bug of Acrobat itself, but it will be good to know why this is happening, and whether it can be solved.
>  
> Attached are a blank sample file created in Acrobat, with no metadata, a java file with the code I used, and the result of running it on that file. When I open the edited file in Acrobat (11.0.10) the Properties window is still empty. However, running the following code from the JS Console does print out the correct output:
> this.info.Keywords
> Output:
> NEW KEYWORDS
>  
> I'm also attaching the same file after I've added keywords to in Acrobat, so the internal structure could be compared with what PDFBox does. I didn't see much of a difference, but maybe I missed something.
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org