You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (JIRA)" <ji...@apache.org> on 2015/01/27 09:17:35 UTC
[jira] [Commented] (PDFBOX-206) Setfield is not working in Acrobat
7.0
[ https://issues.apache.org/jira/browse/PDFBOX-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14293165#comment-14293165 ]
Maruan Sahyoun commented on PDFBOX-206:
---------------------------------------
>From the description of the issue this is very likely related to the appearance not being created correctly. Linking the issue. There is nothing specific to resolve here as there is no sample form which can be checked.
> Setfield is not working in Acrobat 7.0
> --------------------------------------
>
> Key: PDFBOX-206
> URL: https://issues.apache.org/jira/browse/PDFBOX-206
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 0.7.2
> Priority: Minor
> Labels: Appearance, FDF
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1572315
> Originally submitted by nobody on 2006-10-06 11:30.
> Hello,
> I created a acrobat form in version 7.0 and used
> setfield to bind the variables but I am unable to see
> the values when I view online. I am using
> PDFBox_7.0.2.
> Here is code that I am using in peoplesoft:
> ______________________________________
> &pdf_file = CreateJavaObject
> ("org.pdfbox.pdmodel.PDDocument");
> &source_file = &pdf_file.load
> ("Service_Terms_mstr.pdf");
> &jo = CreateJavaObject
> ("org.pdfbox.examples.fdf.SetField");
> If &target_field = "company" Then
> &field_value = &name;
> End-If;
> &jo.setField(&source_file, &target_field,
> &field_value);
> &source_file.save(&PATH | %UserId | ".pdf");
> ViewURL("http://" | &servername | "/" | &DBNAME | "/"
> | %UserId | ".pdf", True);
> _________________________________________________
> I am able to view the whole page except the form
> fields that need to updated using setfield ,they are
> blank. I read somewhere that using version 6.0 would
> help. Please guide me.
> Thanks a lot.
--
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