You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Matti Raty (JIRA)" <ji...@apache.org> on 2015/06/25 08:40:04 UTC

[jira] [Created] (PDFBOX-2840) PDTextField.getDictionary() method not found

Matti Raty created PDFBOX-2840:
----------------------------------

             Summary: PDTextField.getDictionary() method not found
                 Key: PDFBOX-2840
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2840
             Project: PDFBox
          Issue Type: Bug
          Components: PDModel
    Affects Versions: 2.0.0
         Environment: JRuby 1.9
            Reporter: Matti Raty


When calling .getDictionary on PDTextField exception is thrown (exception is in Ruby format but highlights the problem):

NoMethodError (undefined method `getDictionary' for #<Java::OrgApachePdfboxPdmodelInteractiveForm::PDTextField:0x12684e9b>):

Documentation suggests that method should be found from org.apache.pdfbox.pdmodel.interactive.form.PDFieldTreeNode but for some reason it is not found.

I have same code calling .getDictionary in PDFBox 1.8 and it works fine. I need to get the dictionary so I can change form field font to support UTF-8. As I understood 1.8 is not supporting UTF-8.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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