← Back to team overview

openerp-india team mailing list archive

[Bug 1088635] Re: pageCount shows black rectangles

 

** Attachment added: "Pagecount.ogv"
   https://bugs.launchpad.net/openobject-server/+bug/1088635/+attachment/3458915/+files/Pagecount.ogv

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

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