|
From: Everton L. B. <ev...@fa...> - 2005-07-15 20:31:30
|
Margins still not works.
I am testing the numeric format for my locale, see results:
XML:
<field value=3D"format(12345,'!$ %n')"/>
<literal width=3D"3"/>
<field value=3D"format(9876.54,'!# %.2f')"/>
<literal width=3D"3"/>
<field value=3D"format(123.45,'!$ %n')"/>
<literal width=3D"3"/>
PDF - using rlib_set_locale($rlib, "pt_BR");
12.345,00 R$ 9876,00 123,00 R$
PDF - using rlib_set_locale($rlib, "en_US");
$12,345.00 9876.54 $123.45
Decimal places at pt_BR dont works.
I think the margins problem is the same (because rlib
dont understand pt_BR decimal places).
--=20
Everton
Bob Doan escreveu:
> Use
>=20
> rlib_set_locale($rlib, "pt_BR");
>=20
> instead of setlocale
>=20
> - bob
>=20
> On Fri, 2005-07-15 at 16:12 -0300, Everton Luis Berz wrote:
>=20
>>Hi,
>>when I use locale pt_BR my report are showing wrong margins.
>>The decimal separator in pt_BR is "," (comma)
>>
>>My PHP:
>>setlocale(LC_NUMERIC, "pt_BR");
>>@dl("rlib.so") or die("Gerador de relat=C3=B3rios n=C3=A3o instalado!")=
;
>>$rlib =3D rlib_init() or die(_("Gerador de relat=C3=B3rios n=C3=A3o ini=
cializado!"));
>>...
>>
>>My XML:
>><Report fontSize=3D"10"
>> orientation=3D"portrait"
>> paperType=3D"'A4'"
>> leftMargin=3D"0.75"
>> topMargin=3D"0.40">
>>...
>>
>>
>>I tried use "0,75" and "0,40" but report shows nothing.
>>
>>Thanks,
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dclick
> _______________________________________________
> Rlib-users mailing list
> Rli...@li...
> https://lists.sourceforge.net/lists/listinfo/rlib-users
>=20
|