cancel
Showing results for 
Search instead for 
Did you mean: 

Showing linebreaks in Adobe interactive forms webdynpro java

Former Member
0 Kudos

Hey

Im using interactive form from Adobe to show the content of my context, but the linebreaks gets converted into spaces. Heres my scenario:

I have create a context:

Person (node)

- Name (value attribute)

- Lastname (value attribute)

I have create a view (view1) with 2 TextEdit to enter som text. This two TextEdit fields is binded to the contextnode.

I have created another view (view2) with interactive form. The interactive forms consist of 2 InputFields that is also binded to the context.

When i run the application i insert som text in the first view (view1). Then i go to the second view(view2) to display the content as a PDF. This works, but my problem is that the linebreaks I have created in the view1 gets converted into spaces in view2. I have allowd multiple lines.

My question is that:

does Adobe interactive form support linebreaks from the context? It is possible to enter linebreaks if I edit the interactive form at runtime, but I want it to display the linebreaks automaticly from the context.

Are there any way around this? Please help me out. I cant find any sap note about this issue

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Kristoffer,

you mention that you have set the field property to "multiple lines". However you also need to ensure that the data is encoded in XHTML instead of plain text (which is the default). To do this select the "Binding" Tab and change data format to XHTML. In the "Field" tab you should also uncheck "Allow plain text only".

Let us know if this solves your issue.

Cheers,

Matthias

Former Member
0 Kudos

Thanx man!

I have tried that, but then I get an error when opening the interactive form. I get an error message from Adobe saying: Font capture: AcroRd32.exe, and the whole browser not responding.

I have tried with Adobe Reader 7.0.0, 7.0.1 and 7.0.5, and with ACF SP 14

Former Member
0 Kudos

This does not sound good. Can you open a CSN message so that support can look into that issue?

I will also ask around to hear if there is a resolution.

Former Member
0 Kudos

I've sent a CSN message yesterday. It whould be great if you could here around. This error has really been bothering me for some time now:/

Former Member
0 Kudos

I know a little more about the problem now. After viewing the XML source I change the property of the inputfield.

It was like this:

<field name="verdipers_felt" y="130.7001mm" x="180.1801mm" w="101.6004mm" h="44.4501mm" locale="no_NO" access="ReadOnly">

but i changed the access to be nonInteractive

<field name="verdipers_felt" y="130.7001mm" x="180.1801mm" w="101.6004mm" h="44.4501mm" locale="no_NO" access="nonInteractive">

now view2 shows the linebreak as in view1... Buut! when im going back to view1 from view2, the linebreaks gets converted into spaces

thats pretty wierd, aint it?

Answers (0)