Skip to Content
Menu
This question has been flagged
2 Replies
5952 Zobrazenia

on converting .sxw to .rml the report is not showing some lines in table. is it because of the problem with the conversion scripts?

Avatar
Zrušiť
Best Answer

You can add a line manually to rml. I think better if you forget the sxw...

example a margin line

    <lines> 15 65 574 65</lines>
    <lineMode width="20"/>

position X=15 point to 574 point Y=65 point

If you put between here, like this

<pageTemplate id="first">
    <pageGraphics>
        <lines> 15 65 574 65</lines>
        <lineMode width="20"/>
    </pageGraphics>             
</pageTemplate>

you can see the line all of the page.

If you put between the story element in this case you can see just for the actual page.. Hope that's helps to you, or sorry about if this thinks is not new for you :-)

Avatar
Zrušiť
Best Answer

Hi, just paste your error in comment so anyone can understand where exactly the error is, if possible & helpful. The simplest way to solve the problem is to check code line by line. For example do minimum code in sxw file & convert it into rml then generate the report if still there is a problem minimize code in your sxw file and then convert it into rml & then if it works it's fine, by doing this you are able to know where exactly the error is.

To bold font in sxw file you need to keep separate format for bold font sentence & for normal one.Suppose the heading of the report is Partner Report then keep different format(font style:Liberation Serif) & for table data keep different format style(font style:Liberation Sans)

To apply color on your fonts you need to change in your like this

<font color="white"> </font>

You can specify "blue" as a color. And other way is

<paraStyle name="P1" fontName="Helvetica-Bold" fontSize="2.0" textColor="#ffffff"/>
Avatar
Zrušiť
Autor

ya i tried doing that. no error is there. it is producing the reports. but some functions like bold, color are not working as in the sxw file. i have this problem even when trying with minimum code

Hi this is not a error, without your sxw or rml its difficult to analysis what is error

Related Posts Replies Zobrazenia Aktivita
0
mar 15
5656
2
mar 15
6445
0
mar 15
3853
1
mar 15
4781
4
aug 15
6387