Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
5965 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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 :-)

Awatar
Odrzuć
Najlepsza odpowiedź

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"/>
Awatar
Odrzuć
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

Powiązane posty Odpowiedzi Widoki Czynność
0
mar 15
5660
2
mar 15
6454
0
mar 15
3858
1
mar 15
4789
4
sie 15
6395