← Back to team overview

openerp-india team mailing list archive

[Bug 1088635] [NEW] pageCount shows black rectangles

 

Public bug reported:

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.

** Affects: openobject-server
     Importance: Undecided
         Status: New

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

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


Follow ups

References