2014 Sep 22 4:23 PM
Hello colleagues!
I have a problem with a Smartform, I hope someone can help me!!
I want to print in a smartform several lines and I want them to have the same length, similar to justified style. Since they are different lines and not a paragraph, I can not apply the smartstyle to justify the text.
Is there any way to indicate that every line has to have the same size?
Thanks a lot in advance!
Kind regards,
Paula
Hi,
Use the Program lines and check the lenght of each value gonna print using function "Strlen" and control your printing.
Regards,
VS
2014 Sep 23 8:12 AM
Hi,
Use the Program lines and check the lenght of each value gonna print using function "Strlen" and control your printing.
Regards,
VS
2014 Sep 23 9:41 AM
I can not control the lenght of the lines, because I do not want to break any word. So, there are lines of 79 characters and lines of 84, for example.
I just wanna adjust the width of the characters to the page, but since they are indepent lines, the option justify text in smartstyle does not work.
2014 Sep 23 8:46 AM
Hi Paula,
in both, Sapscript and Smartforms you can't justify the text. If you need these typical word processor capacities use a doc template to achieve your goal. Yoa have an example in SE83.
Regards
JCD
2014 Sep 23 9:45 AM
Hi Juan Carlos,
I looking for an example of this problem in SE83, but I do not find it.
Is there a way to indicate that all lines depend one of each other, so I can justify all the test?
I do not have more ideas
Thanks VS and JCD!
2014 Sep 23 9:53 AM
Hi Paula,
can you use adobe forms in this case?
This tool is more flexible than the other ones.
Regards
JCD
2014 Sep 23 9:58 AM
Hi Paula,
Hope it help full.
Try,
Create a smart style with different fonts.
if count < 79.
Normal Font.
else.
Small Font.
endif.
Some how length will be minimized because of font size.
Regards,
Venkat.
2014 Sep 23 10:28 AM
2014 Sep 23 10:31 AM
Hi Venkat,
I can not have different sizes of fonts. It is supose to be the same paragraph with the same font size.
Thanks anyway!
Regards,
Paula
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |