Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Birt Runtime 2.3.0 - PDF Page Number Error
cifuller
I am using the birt runtime 2.3.0 (genReport.bat) to create a PDF document.
The file is generated, however, every page in the document shows as "Page 1".
Oddly, the numbering displays fine if I generate the PDF document from eclipse "View Report as PDF".
I use the BIRT page number function on the master page...
<simple-master-page name="Simple MasterPage" id="2">
<property name="orientation">portrait</property>
<property name="topMargin">0.25in</property>
<property name="leftMargin">0.5in</property>
<property name="bottomMargin">0.25in</property>
<property name="rightMargin">0.5in</property>
<property name="showHeaderOnFirst">true</property>
<property name="footerHeight">0.25in</property>
<page-header>
<grid id="147">
<property name="style">BODY</property>
<property name="fontFamily">"Courier New"</property>
<property name="color">#000000</property>
<property name="marginTop">0pt</property>
<property name="marginBottom">0.125in</property>
<property name="width">7.5in</property>
<column id="112">
<property name="width">2.5833333333in</property>
</column>
<column id="2203"/>
<column id="2218"/>
<row id="113">
<cell id="148">
<property name="colSpan">3</property>
<property name="rowSpan">1</property>
<property name="paddingTop">0pt</property>
<label id="2207">
<property name="fontSize">10pt</property>
<property name="fontWeight">bold</property>
<property name="marginTop">0pt</property>
<property name="textAlign">center</property>
<text-property name="text">STATEMENT</text-property>
</label>
</cell>
</row>
<row id="2204">
<cell id="2205">
<property name="colSpan">3</property>
<property name="rowSpan">1</property>
<property name="paddingTop">0pt</property>
<text-data id="2208">
<property name="fontSize">10pt</property>
<property name="marginTop">0pt</property>
<property name="textAlign">right</property>
<expression name="valueExpr">"Page: "+ pageNumber</expression>
<property name="contentType">html</property>
</text-data>
</cell>
</row>
</grid>
</page-header>
</simple-master-page>
Find more posts tagged with
Comments
mwilliams
Hi cifuller,<br />
<br />
This sounds like it could very well be a bug. You can file it at:<br />
<br />
<a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/reportabug.php'>http://www.eclipse.org/birt/phoenix/reportabug.php</a><br
/>
<br />
This way you can track the progress of the bug report.
tomas
This issue is like<br />
<br />
<a class='bbc_url' href='
https://bugs.eclipse.org/bugs/show_bug.cgi?id=235520'>https://bugs.eclipse.org/bugs/show_bug.cgi?id=235520</a>
;