openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #19498
[Bug 1088635] Re: pageCount shows black rectangles
Sorry. Correction, the line
<drawString x="19.8cm" y="28.5cm"><pageCount/></drawString>
shows the black squares.
I've found another solution. It works too:
<drawRightString x="19.8cm" y="28.5cm"> 
<pageCount/></drawRightString>
Thanks.
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1088635
Title:
pageCount shows black rectangles
Status in OpenERP Server:
Incomplete
Bug description:
For example, if you want show the total pages of your report using
this piece of code:
<?xml version="1.0"?>
<document filename="...">
<template...>
<pageTemplate id="page1">
<pageGraphics>
<setFont name="Helvetica" size="8"/>
<drawString x="18.5cm" y="28.5cm">Page <pageNumber/> of </drawString>
<drawString x="19.8cm" y="28.5cm">.<pageCount/></drawString>
...
You will see black squares/rectangles. But if you change the last line
to:
<drawString x="19.8cm" y="28.5cm">.<pageCount/></drawString>
It works.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1088635/+subscriptions
References