cancel
Showing results for 
Search instead for 
Did you mean: 

Change font in Adobe Form in the interface

Former Member
0 Kudos

Hi all,

I have one issue changing the font in adobe forms.

In the interface I have as import one string. With this string I have to generate the PDF and I need to change the font.

Here is an example:

Import string: "this is an [[FONT=CURIEL]]example of [[N]] adobe [[SIZE=15]] forms"

the characters [[ ]] indicate an scape sequence.

[[FONT=CURIEL]] means that all the following text should be in curiel font.

[[N]] means new line

[[SIZE=15]] menas that all the following text should be in size 15.

All this text I has to be added to a string variable and paste in the PDF.

I know that I can add a new line with "cl_abap_char_utilities=>newline"

I know that with Javascrit I can change the font and the size, but for that I have to change all the text.

Is there any way to change some text inside the variable and not all of it?

Thanks!

Regards,

Andres

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Use the floating Field.

it may be suitable for your Case.

Thanks.

UmaS.

Former Member
0 Kudos

Hi UmaS,

Thanks for your answer.

I can't use floating text because I don't know how many different fonts I will have and I can't create floating text dynamically.

Any other idea?

Thanks,

Regards,

Andres.

Answers (0)