İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
13046 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici

tested the code and it does not work

En İyi Yanıt

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
Vazgeç