Expand my Community achievements bar.

SOLVED

How to make dynamic pdf from static pdf in java?

Avatar

Level 1

Hi,

I am attaching  a sample SchollForm static PDF with this post, where it consist of student details like Name ,lastName ,section etc.

I like to convert this static PDF in to dynamic PDF means above field should be fillable  How to do this using java program or which adobe api i have to use that should compatiable with java.

Please reply soon its urgent.

Thanks in advance.

Prashant P M

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

Not sure I follow what you mean by a java api .....but if you want to convert it to an XFA form (fillable and produces XML data) then you can import into LiveCycke Designer. The original format has no concept of a field so once you have the form into designer you can lay fields on top of the form where they should go. There is a tool in Acrobat that will try and detect where fields shoudl go and it works quite well on your form. To do this open the form in Acrobat and under the Forms choose the Add or Edit Fields menu. A dialog will pop up saying that there are no fields on the form do you want to detect them. Choose Yes and let the wizard complete. Save the form then import it into Designer and the fields will be converted to XFA format for you.

Paul

View solution in original post

1 Reply

Avatar

Correct answer by
Former Community Member

Not sure I follow what you mean by a java api .....but if you want to convert it to an XFA form (fillable and produces XML data) then you can import into LiveCycke Designer. The original format has no concept of a field so once you have the form into designer you can lay fields on top of the form where they should go. There is a tool in Acrobat that will try and detect where fields shoudl go and it works quite well on your form. To do this open the form in Acrobat and under the Forms choose the Add or Edit Fields menu. A dialog will pop up saying that there are no fields on the form do you want to detect them. Choose Yes and let the wizard complete. Save the form then import it into Designer and the fields will be converted to XFA format for you.

Paul

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----