I need to print out a line of static text containing both bold and normal text. I’ve tried splitting the 2 types into 2 fields but that does not work well.
Thinking to use the RTF markup feature, I created a .RTF document with WordPad and copied the result into the Text field, after selecting the “Styled Text” and setting the Markup property to RTF. However, this does not produce formatted text; only the exact text I copied.
I would appreciate receiving any tips on how to create bold and regular text in the same field using this feature.
Steve
Hi,
Thinking to use the RTF markup feature, I created a .RTF document with WordPad and copied the result into the Text field, after selecting the “Styled Text” and setting the Markup property to RTF. However, this does not produce formatted text; only the exact text I copied.
You should not select Styled Text, only RTF markup.
I use this i combination with rtf areas in Servoy and that works fine in Jasper 3.0.
Regards,
Hans Nieuwenhuis
Hans Nieuwenhuis:
Hi,
Thinking to use the RTF markup feature, I created a .RTF document with WordPad and copied the result into the Text field, after selecting the “Styled Text” and setting the Markup property to RTF. However, this does not produce formatted text; only the exact text I copied.
You should not select Styled Text, only RTF markup.
I use this i combination with rtf areas in Servoy and that works fine in Jasper 3.0.
Regards,
Hans Nieuwenhuis
Hans,
Can you give me a short example of the rtf text you put into the Text field?
Thanks, Steve
I do not copy/past text.
We use a rtf area in a Servoy form.
The user types text in the rtf area and then changes te color and font using the servoy font options.
Regards,
Hans
Hans Nieuwenhuis:
I do not copy/past text.
We use a rtf area in a Servoy form.
The user types text in the rtf area and then changes te color and font using the servoy font options.
Regards,
Hans
Thank you, Hans.
It would surely be helpful to have a small working example.
Steve
I’ll send you an example form and report this afternoon.
Regards,
Hans Nieuwenhuis
Attached You will find a very simple form and report.
Regards,
Hans
testrtf.zip (8.7 KB)
Hans Nieuwenhuis:
Attached You will find a very simple form and report.
Regards,
Hans
Thanks, Hans. I appreciate the assistance.
Steve