Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
13037 Zobrazení

I can add underline by using the tag <u> </u>

Then I try added <b> </b> and <i> </I> to my rml report but it does not work.

What should I put to make bold and italic ?

Avatar
Zrušit
Nejlepší odpověď

Hi wille,

use this for in your rml file:

<paraStyle name="terp_header" fontSize="12.0" leading="15" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>

<td><para style="terp_header"><b>Taxes</b></para></td>

<d><para style="terp_header"><i>Amount</i></para></td>

Avatar
Zrušit
Autor

tested the code and it does not work

Nejlepší odpověď

Hi Wille,

To manage bold and italic into RML you need to use different font like below.

For Bold : 

<paraStyle name="terp_default_Centre_9_Bold" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>

For Italic : 

<paraStyle name="terp_default_Italic" rightIndent="0.0" leftIndent="20.0" fontName="Helvetica-Oblique" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>

when you use style="terp_default_Centre_9_Bold" then it will give you bold font and when you use style="terp_default_Italic" then it will give you italic font.

I hope it will useful for you.

Avatar
Zrušit