Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » page number formatting in footer
page number formatting in footer [message #366568] Mon, 12 January 2009 11:51 Go to next message
Parvez is currently offline ParvezFriend
Messages: 181
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------090907040607060803070006
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

In my pdf report (using BIRT 2.3.1) I am displaying (master page -
footer) page number.

For that I am using grid with 1 row and 4 cells (Page, Page Number, / ,
Total Page). Idea is to display like this:

Page 1 / 3
Page 2 / 3

Page word is internationalised, so comes from properties file.

But formatting is not not good, one is there is gap in values (even
after removing margins) and formatting gets lost in next page (I am not
sure why as this is in footer of master page so should be consistent,
any thoughts?), Please see attached images.

Is there a better way to do this?

Thanks.
- Parvez

--------------090907040607060803070006
Content-Type: image/jpeg;
name="page1.JPG"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="page1.JPG"

/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsL DBkSEw8UHRof
Hh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwL DBgNDRgyIRwh
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy MjIyMjL/wAAR
CAAoAKMDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcI CQoL/8QAtRAA
AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS 0fAkM2JyggkK
FhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1 dnd4eXqDhIWG
h4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW 19jZ2uHi4+Tl
5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcI CQoL/8QAtREA
AgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMz UvAVYnLRChYk
NOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0 dXZ3eHl6goOE
hYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU 1dbX2Nna4uPk
5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iuf/wCEE8H/APQqaH/4 Lof/AImj/hBP
B/8A0Kmh/wDguh/+JoA6Ciuf/wCEE8H/APQqaH/4Lof/AImj/hBPB/8A0Kmh /wDguh/+JoA6
Ciuf/wCEE8H/APQqaH/4Lof/AImj/hBPB/8A0Kmh/wDguh/+JoA6Ciuf/wCE E8H/APQqaH/4
Lof/AImj/hBPB/8A0Kmh/wDguh/+JoA6Ciuf/wCEE8H/APQqaH/4Lof/AImj /hBPB/8A0Kmh
/wDguh/+JoA6Ciuf/wCEE8H/APQqaH/4Lof/AImj/hBPB/8A0Kmh/wDguh/+ JoA6Ciuf/wCE
E8H/APQqaH/4Lof/AImj/hBPB/8A0Kmh/wDguh/+JoA6Ciuf/wCEE8H/APQq aH/4Lof/AImj
/hBPB/8A0Kmh/wDguh/+JoA6Ciuf/wCEE8H/APQqaH/4Lof/AImj/hBPB/8A 0Kmh/wDguh/+
JoA6Ciuf/wCEE8H/APQqaH/4Lof/AImtTTdJ03RrdrfS9PtLGBnLtHawrEpb AGSFAGcADPsK
ALlFFFABXH+MdP8A7S1jRIP7H0zVuLhvs+pPti6L82fLk5H+73PNdhRQB5br V3qvg3Q7fT7f
UobG4WG6u4reAoIidxZIEMqMzqoONiIpIxjYMAX18TXkuvwxvrywzveW8SaU IYwJLd1QmUEg
ucliN4O0fdxuGa9DrOk0Oxl1VNSlFzJcRncivdytEpxjcIi2wHBPO3PNAHIe DPEOt6r4gki1
C+snUxO01gk/mS2jBgFUqsCeX34eRycZXgGvQKKKACiiigBkqGSF4w7RllID pjK57jPGa5rw
EnlaDdxeZJII9Vv4w0rl2IW6kAyTyeBXUUUAFY3iq5ktvDd2IJfKubgLa27h S22WVhGhwOuG
YH8K2aKAIraCO1tYbeIYjiQIg9ABgVLRRQBwnj9tMBEm+1/tu3iE1rDcI3mT gFiI7ZiQqysV
wWUMwBGRgrXdKSVBIIJHQ9qWigAooooAKKKKACiiigAooooAKKKKACiiigAo oooAKKKKACii
igAooooAKKKKACiiigAooooAKKKKAP/Z
--------------090907040607060803070006
Content-Type: image/jpeg;
name="page2.JPG"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="page2.JPG"

/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsL DBkSEw8UHRof
Hh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwL DBgNDRgyIRwh
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy MjIyMjL/wAAR
CAAvAJIDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcI CQoL/8QAtRAA
AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS 0fAkM2JyggkK
FhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1 dnd4eXqDhIWG
h4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW 19jZ2uHi4+Tl
5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcI CQoL/8QAtREA
AgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMz UvAVYnLRChYk
NOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0 dXZ3eHl6goOE
hYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU 1dbX2Nna4uPk
5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iuf/wCEe1T/AKHPXP8A vzZf/I9H/CPa
p/0Oeuf9+bL/AOR6AOgorn/+Ee1T/oc9c/782X/yPR/wj2qf9Dnrn/fmy/8A kegDoKK4670n
XJLw6fp/jPV1uljWWWWa2s2SJCSF+UQAsWKsAARjBJPQNJq+m61ZOb//AIS7 VF02GLNxHHb2
nmIBkmUMYTuAGMrgHAJBJwplyN40G7aq72XV/pr0u/0Otorn/wDhHtU/6HPX P+/Nl/8AI9H/
AAj2qf8AQ565/wB+bL/5HqjA6Ciuf/4R7VP+hz1z/vzZf/I9H/CPap/0Oeuf 9+bL/wCR6AOg
orn/APhHtU/6HPXP+/Nl/wDI9H/CPap/0Oeuf9+bL/5HoA6Ciuf/AOEe1T/o c9c/782X/wAj
0f8ACPap/wBDnrn/AH5sv/kegDoKK5//AIR7VP8Aoc9c/wC/Nl/8j0f8I9qn /Q565/35sv8A
5HoA6Ciuf/4R7VP+hz1z/vzZf/I9H/CPap/0Oeuf9+bL/wCR6AOgorn/APhH tU/6HPXP+/Nl
/wDI9FAHQVxvibU7iDxEloNW1qygFmJVXStNF2WfeR837mQqMAY+73rsqhFp AL43gT/SDGIi
+T90EkDHTqTQBxr+NdS0qHTIdT0yN7l4bf7dtlKyRvKwXiNFcAAnJ3Oo9C1W /wDhMp4nNzda
UItKb7SYrgXO6QrAGLFo9uBnYduGPHXaeK1tQ8MaRql211eW8jyNs3BbiREY oQyMUVgpYEDD
EZHrWXZeCo4PEc+pzzwPbMZTHZxRSqgMn3yQ0rJzk52ImSSTmgDN8Oaze+JR rU4S60ZpJUdb
x7dm2QoNhjVpo1XcGSRsYYL5hyN24V0uhrc3eiPHqjm7R3kRXniVWnhyQpdQ AvI7YGQeg6Vi
aR4P0SSx1TTJrabMd8VkaO6lQ4B86IKwYMoVZFyBgbtx5JyepsLCHTbUW0D3 Lxgkg3FzJO/P
+3IzN+tRD4ToxLtWdvl6dPwsVfD0skmiQJNI0stu0lq8rnLSmJ2jLnPdtm7H OM9T1rUrJ8Nf
PoMNwPuXckt5GO4SaRpVB9wrgH3zyeta1OHwoWJVq00u7/MKKKKowCsrxBeX NppqCyz9quLi
K3iIx8u9wGbnj5V3N/wGtWq9zYW13cWk88QeS0kMsBJPyOVZM47/ACsw59aA LFFFFAHL67ea
npOtWN215P8A2ZNcRwOiwxeREHZUG88yl2dgFK4UfxDueorLk8O6XLqh1F7d vtDOsjgTOI3d
QArtGDsZhtXDEEjaMHgVqUAFFFFABRRRQAUUUUAFFFFAGXdQXFpqT6nawNdG WFIJrdWVXIUs
VZCxC5y7ZBIyMEEFcNXup28QWc+nW9rdRWlxG0U91cQtDtQjDKiPhy5B4O3a M5ySu07lFQ49
Oh0Rr2tJr3ls/wAvW3T8bhRRRVnOFFFFABRRRQAUUUUAFFFFABRRRQAUUUUA f//Z
--------------090907040607060803070006--
Re: page number formatting in footer [message #366569 is a reply to message #366568] Mon, 12 January 2009 12:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thilo.bruesshaber.gmail.com

I've seen this behaviour first time in BIRT 2.3.1.
It seem that this happens when an automatic pagebreak occurs.
Jason?

PC schrieb:
> Hi,
>
> In my pdf report (using BIRT 2.3.1) I am displaying (master page -
> footer) page number.
>
> For that I am using grid with 1 row and 4 cells (Page, Page Number, / ,
> Total Page). Idea is to display like this:
>
> Page 1 / 3
> Page 2 / 3
>
> Page word is internationalised, so comes from properties file.
>
> But formatting is not not good, one is there is gap in values (even
> after removing margins) and formatting gets lost in next page (I am not
> sure why as this is in footer of master page so should be consistent,
> any thoughts?), Please see attached images.
>
> Is there a better way to do this?
>
> Thanks.
> - Parvez
>
> ------------------------------------------------------------ ------------
>
>
> ------------------------------------------------------------ ------------
>
Re: page number formatting in footer [message #366572 is a reply to message #366569] Mon, 12 January 2009 15:47 Go to previous messageGo to next message
Parvez is currently offline ParvezFriend
Messages: 181
Registered: July 2009
Senior Member
So it could be a Bug in BIRT 2.3.1 ?

Is there other/better way to achieve the same?

Thanks.


Thilo Bruesshaber wrote:
> I've seen this behaviour first time in BIRT 2.3.1.
> It seem that this happens when an automatic pagebreak occurs.
> Jason?
>
> PC schrieb:
>> Hi,
>>
>> In my pdf report (using BIRT 2.3.1) I am displaying (master page -
>> footer) page number.
>>
>> For that I am using grid with 1 row and 4 cells (Page, Page Number, /
>> , Total Page). Idea is to display like this:
>>
>> Page 1 / 3
>> Page 2 / 3
>>
>> Page word is internationalised, so comes from properties file.
>>
>> But formatting is not not good, one is there is gap in values (even
>> after removing margins) and formatting gets lost in next page (I am
>> not sure why as this is in footer of master page so should be
>> consistent, any thoughts?), Please see attached images.
>>
>> Is there a better way to do this?
>>
>> Thanks.
>> - Parvez
>>
>> ------------------------------------------------------------ ------------
>>
>>
>> ------------------------------------------------------------ ------------
>>
Re: page number formatting in footer [message #366576 is a reply to message #366572] Mon, 12 January 2009 18:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Can you post the report?

Jason

PC wrote:
> So it could be a Bug in BIRT 2.3.1 ?
>
> Is there other/better way to achieve the same?
>
> Thanks.
>
>
> Thilo Bruesshaber wrote:
>> I've seen this behaviour first time in BIRT 2.3.1.
>> It seem that this happens when an automatic pagebreak occurs.
>> Jason?
>>
>> PC schrieb:
>>> Hi,
>>>
>>> In my pdf report (using BIRT 2.3.1) I am displaying (master page -
>>> footer) page number.
>>>
>>> For that I am using grid with 1 row and 4 cells (Page, Page Number, /
>>> , Total Page). Idea is to display like this:
>>>
>>> Page 1 / 3
>>> Page 2 / 3
>>>
>>> Page word is internationalised, so comes from properties file.
>>>
>>> But formatting is not not good, one is there is gap in values (even
>>> after removing margins) and formatting gets lost in next page (I am
>>> not sure why as this is in footer of master page so should be
>>> consistent, any thoughts?), Please see attached images.
>>>
>>> Is there a better way to do this?
>>>
>>> Thanks.
>>> - Parvez
>>>
>>> ------------------------------------------------------------ ------------
>>>
>>>
>>> ------------------------------------------------------------ ------------
>>>
Re: page number formatting in footer [message #366626 is a reply to message #366576] Thu, 15 January 2009 11:40 Go to previous messageGo to next message
Parvez is currently offline ParvezFriend
Messages: 181
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010404070900040507000709
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi Jason,

Please find enclosed report. You won't be able to run it as it uses
number of java handlers which in turn uses number of other plugins. I
just renamed it to xml.

Thanks for your help.

- Parvez

Jason Weathersby wrote:
> Can you post the report?
>
> Jason
>
> PC wrote:
>> So it could be a Bug in BIRT 2.3.1 ?
>>
>> Is there other/better way to achieve the same?
>>
>> Thanks.
>>
>>
>> Thilo Bruesshaber wrote:
>>> I've seen this behaviour first time in BIRT 2.3.1.
>>> It seem that this happens when an automatic pagebreak occurs.
>>> Jason?
>>>
>>> PC schrieb:
>>>> Hi,
>>>>
>>>> In my pdf report (using BIRT 2.3.1) I am displaying (master page -
>>>> footer) page number.
>>>>
>>>> For that I am using grid with 1 row and 4 cells (Page, Page Number,
>>>> / , Total Page). Idea is to display like this:
>>>>
>>>> Page 1 / 3
>>>> Page 2 / 3
>>>>
>>>> Page word is internationalised, so comes from properties file.
>>>>
>>>> But formatting is not not good, one is there is gap in values (even
>>>> after removing margins) and formatting gets lost in next page (I am
>>>> not sure why as this is in footer of master page so should be
>>>> consistent, any thoughts?), Please see attached images.
>>>>
>>>> Is there a better way to do this?
>>>>
>>>> Thanks.
>>>> - Parvez
>>>>
>>>> ------------------------------------------------------------ ------------
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------ ------------
>>>>
>>>>


--------------010404070900040507000709
Content-Type: text/xml;
name="reportdesign.xml"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline;
filename="reportdesign.xml"

<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.17" id="1">
<property name="author">pchauhan</property>
<property name="createdBy">Eclipse BIRT Designer Version 2.3.1.v20080911 Build &lt;2.3.1.v20080917-1340></property>
<property name="units">in</property>
<simple-property-list name="includeResource">
<value>localization/pas_reports</value>
</simple-property-list>
<text-property name="title">Project_1</text-property>
<property name="comments">Copyright (c) 2007 &lt;&lt;Your Company Name here>></property>
<html-property name="description">Creates a blank report with no predefined content.</html-property>
<property name="theme">pas.PASTheme</property>
<text-property name="displayName">Blank Report</text-property>
<property name="iconFile">/templates/blank_report.gif</property>
<list-property name="libraries">
<structure>
<property name="fileName">libraries/pas.rptlibrary</property>
<property name="namespace">pas</property>
</structure>
</list-property>
<data-sources>
<script-data-source name="iec1131_DS" id="344"/>
</data-sources>
<data-sets>
<script-data-set name="iec1131_POUsDataSet" id="345">
<property name="eventHandlerClass"> com.pilz.pas.iec1131.report.eventhandler.POUsDataSetEventHan dler </property>
<list-property name="resultSetHints">
<structure>
<property name="position">1</property>
<property name="name">Name</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">CreationDate</property>
<property name="dataType">date-time</property>
</structure>
<structure>
<property name="position">3</property>
<property name="name">TaskProperties</property>
<property name="dataType">any</property>
</structure>
<structure>
<property name="position">4</property>
<property name="name">Author</property>
<property name="dataType">string</property>
</structure>
</list-property>
<list-property name="columnHints">
<structure>
<property name="columnName">Name</property>
</structure>
<structure>
<property name="columnName">CreationDate</property>
</structure>
<structure>
<property name="columnName">TaskProps</property>
</structure>
<structure>
<property name="columnName">Code</property>
</structure>
<structure>
<property name="columnName">TaskProperties</property>
</structure>
<structure>
<property name="columnName">Author</property>
</structure>
</list-property>
<structure name="cachedMetaData">
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">Name</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">CreationDate</property>
<property name="dataType">date-time</property>
</structure>
<structure>
<property name="position">3</property>
<property name="name">TaskProperties</property>
<property name="dataType">any</property>
</structure>
<structure>
<property name="position">4</property>
<property name="name">Author</property>
<property name="dataType">string</property>
</structure>
</list-property>
</structure>
<property name="dataSource">iec1131_DS</property>
</script-data-set>
</data-sets>
<styles>
<style name="crosstab-cell" id="4">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
<style name="crosstab" id="5">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
</styles>
<page-setup>
<simple-master-page name="PASHeaderFooter" id="183" extends="pas.PASHeaderFooter">
<property name="footerHeight">0.5in</property>
</simple-master-page>
<simple-master-page name="PASHeaderFooterLandscape" id="289" extends="pas.PASHeaderFooterLandscape"/>
</page-setup>
<body>
<grid name="pformProjectOuterGrid" id="217">
<property name="pageBreakAfter">auto</property>
<property name="width">100%</property>
<column id="218"/>
<row id="295">
<cell id="296">
<property name="paddingTop">50pt</property>
<property name="textAlign">left</property>
<image id="294">
<property name="height">83px</property>
<property name="width">80px</property>
<property name="source">file</property>
<expression name="uri">"images/pas_logo.jpg"</expression>
</image>
</cell>
</row>
<row id="297">
<cell id="298">
<property name="paddingTop">20pt</property>
<property name="textAlign">center</property>
<label name="pformProjectDetails" id="300">
<property name="fontSize">14pt</property>
<property name="fontWeight">bold</property>
<property name="textAlign">left</property>
<text-property name="text" key="projectDetails"></text-property>
</label>
</cell>
</row>
<row id="219">
<cell id="220">
<property name="textAlign">center</property>
<grid name="pformProjectInfoGrid" id="221">
<property name="marginTop">20pt</property>
<property name="marginBottom">auto</property>
<property name="textAlign">left</property>
<property name="width">65%</property>
<column id="222"/>
<column id="223"/>
<row id="224">
<cell id="225">
<property name="paddingTop">5pt</property>
<property name="paddingLeft">5pt</property>
<label name="pfromProjectNameLbl" id="244">
<property name="style">large-bold</property>
<property name="fontSize">12pt</property>
<property name="marginTop">0pt</property>
<text-property name="text" key="project"></text-property>
</label>
</cell>
<cell id="226">
<property name="paddingTop">5pt</property>
<property name="paddingBottom">1pt</property>
<property name="paddingRight">5pt</property>
<text name="pfromProjectName" id="245">
<property name="eventHandlerClass"> com.pilz.pas.platform.report.logic.eventhandlers.ProjectInfo EventHandler </property>
<property name="fontSize">12pt</property>
</text>
</cell>
</row>
<row id="230">
<cell id="231">
<property name="paddingTop">1pt</property>
<property name="paddingLeft">5pt</property>
<property name="paddingBottom">5pt</property>
<label name="pformProjectAuthorLbl" id="268">
<property name="style">large-bold</property>
<text-property name="text" key="author"></text-property>
</label>
</cell>
<cell id="232">
<property name="paddingTop">1pt</property>
<property name="paddingLeft">1pt</property>
<property name="paddingBottom">5pt</property>
<property name="paddingRight">5pt</property>
<text name="pformProjectAuthor" id="276">
<property name="eventHandlerClass"> com.pilz.pas.platform.report.logic.eventhandlers.ProjectInfo EventHandler </property>
<property name="fontSize">12pt</property>
<property name="marginTop">0pt</property>
<property name="paddingTop">1pt</property>
</text>
</cell>
</row>
<row id="301">
<cell id="302">
<property name="paddingTop">1pt</property>
<property name="paddingLeft">5pt</property>
<property name="paddingBottom">5pt</property>
<label name="pformVersionLbl" id="310">
<property name="style">large-bold</property>
<text-property name="text" key="version"></text-property>
</label>
</cell>
<cell id="303">
<property name="paddingTop">1pt</property>
<property name="paddingLeft">1pt</property>
<property name="paddingBottom">5pt</property>
<property name="paddingRight">5pt</property>
<text name="pformVersion" id="311">
<property name="eventHandlerClass"> com.pilz.pas.platform.report.logic.eventhandlers.ProjectInfo EventHandler </property>
<property name="fontSize">12pt</property>
</text>
</cell>
</row>
<row id="307">
<cell id="308">
<property name="paddingTop">1pt</property>
<property name="paddingLeft">5pt</property>
<property name="paddingBottom">5pt</property>
<label name="pformCreationDateLbl" id="312">
<property name="style">large-bold</property>
<text-property name="text" key="creationDate"></text-property>
</label>
</cell>
<cell id="309">
<property name="paddingTop">1pt</property>
<property name="paddingLeft">1pt</property>
<property name="paddingBottom">5pt</property>
<property name="paddingRight">5pt</property>
<text name="pformCreationDate" id="313">
<property name="eventHandlerClass"> com.pilz.pas.platform.report.logic.eventhandlers.ProjectInfo EventHandler </property>
<property name="fontSize">12pt</property>
</text>
</cell>
</row>
<row id="304">
<cell id="305">
<property name="paddingTop">1pt</property>
<property name="paddingLeft">5pt</property>
<property name="paddingBottom">5pt</property>
<label name="pformLastModifiedDateLbl" id="314">
<property name="style">large-bold</property>
<text-property name="text" key="lastModifiedDate"></text-property>
</label>
</cell>
<cell id="306">
<property name="paddingTop">1pt</property>
<property name="paddingLeft">1pt</property>
<property name="paddingBottom">5pt</property>
<property name="paddingRight">5pt</property>
<text name="pformLastModifiedDate" id="315">
<property name="eventHandlerClass"> com.pilz.pas.platform.report.logic.eventhandlers.ProjectInfo EventHandler </property>
<property name="fontSize">12pt</property>
<property name="paddingTop">1pt</property>
</text>
</cell>
</row>
</grid>
</cell>
</row>
</grid>
<grid name="pformCompanyAddressGrid" id="318">
<property name="marginTop">300pt</property>
<property name="pageBreakAfter">always</property>
<property name="width">100%</property>
<column id="319"/>
<row id="320">
<cell id="321">
<label name="pformCompanyAddress1Lbl" id="336">
<property name="fontSize">small</property>
<property name="fontWeight">bold</property>
<text-property name="text">Pilz GmbH &amp; Co. KG Sichere Automation</text-property>
</label>
</cell>
</row>
<row id="322">
<cell id="323">
<label name="pformCompanyAddress2Lbl" id="337">
<property name="fontSize">small</property>
<text-property name="text">Felix-Wankel-Straße 2</text-property>
</label>
</cell>
</row>
<row id="324">
<cell id="325">
<label name="pformCompanyAddress3Lbl" id="338">
<property name="fontSize">small</property>
<text-property name="text">73760 Ostfildern</text-property>
</label>
</cell>
</row>
<row id="326">
<cell id="327">
<label name="pformCompanyAddress4Lbl" id="339">
<property name="fontSize">small</property>
<text-property name="text">Germany</text-property>
</label>
</cell>
</row>
<row id="328">
<cell id="329">
<label name="pformCompanyAddress5Lbl" id="340">
<property name="fontSize">small</property>
<text-property name="text">Tel.: +49 711 3409-0</text-property>
</label>
</cell>
</row>
<row id="330">
<cell id="331">
<label name="pformCompanyAddress6Lbl" id="341">
<property name="fontSize">small</property>
<text-property name="text">Fax: +49 711 3409-133</text-property>
</label>
</cell>
</row>
<row id="332">
<cell id="333">
<label name="pformCompanyAddress7Lbl" id="342">
<property name="fontSize">small</property>
<text-property name="text">E-Mail: pilz.gmbh@pilz.de</text-property>
</label>
</cell>
</row>
<row id="334">
<cell id="335">
<label name="pformCompanyAddress8Lbl" id="343">
<property name="fontSize">small</property>
<text-property name="text">Web: www.pilz.de</text-property>
</label>
</cell>
</row>
</grid>
<label name="iec1131_title" id="156">
<property name="style">tool-title</property>
<property name="paddingTop">1pt</property>
<structure name="toc">
<expression name="expressionValue">reportContext.getMessage('iec1131', reportContext.getLocale())</expression>
</structure>
<text-property name="text" key="pous"></text-property>
</label>
<table name="iec1131_pousTbl" id="346">
<property name="marginTop">0pt</property>
<property name="pageBreakAfter">always</property>
<property name="canShrink">true</property>
<property name="width">100%</property>
<property name="dataSet">iec1131_POUsDataSet</property>
<list-property name="boundDataColumns">
<structure>
<property name="name">Name</property>
<expression name="expression">dataSetRow["Name"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">CreationDate</property>
<expression name="expression">dataSetRow["CreationDate"]</expression >
<property name="dataType">date-time</property>
</structure>
<structure>
<property name="name">Author</property>
<expression name="expression">dataSetRow["Author"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">Code</property>
<expression name="expression">dataSetRow["Code"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">TaskProps</property>
<expression name="expression">dataSetRow["TaskProperties"]</expression >
<property name="dataType">any</property>
</structure>
</list-property>
<property name="pageBreakInterval">50</property>
<column id="370">
<property name="width">1.2083333333in</property>
</column>
<column id="371"/>
<detail>
<row id="390">
<property name="borderBottomColor">#C0C0C0</property>
<property name="borderBottomStyle">dotted</property>
<property name="borderBottomWidth">1px</property>
<property name="borderLeftColor">#C0C0C0</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1px</property>
<property name="borderRightColor">#C0C0C0</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1px</property>
<property name="borderTopColor">#C0C0C0</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1px</property>
<cell id="391">
<label id="393"/>
</cell>
<cell id="392">
<property name="paddingTop">1pt</property>
<label id="394"/>
</cell>
</row>
<row id="395">
<property name="borderBottomColor">#C0C0C0</property>
<property name="borderBottomStyle">dotted</property>
<property name="borderBottomWidth">1px</property>
<property name="borderLeftColor">#C0C0C0</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1px</property>
<property name="borderRightColor">#C0C0C0</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1px</property>
<property name="borderTopColor">#C0C0C0</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1px</property>
<cell id="396">
<label name="iec1131_pouNameLbl" id="397">
<property name="style">light-color-label</property>
<property name="marginTop">0pt</property>
<property name="paddingTop">1pt</property>
<text-property name="text" key="name"></text-property>
</label>
</cell>
<cell id="398">
<property name="paddingTop">1pt</property>
<data name="iec1131_pouName" id="347">
<property name="paddingTop">1pt</property>
<property name="resultSetColumn">Name</property>
</data>
</cell>
</row>
<row id="360">
<property name="borderBottomColor">#C0C0C0</property>
<property name="borderBottomStyle">dotted</property>
<property name="borderBottomWidth">1px</property>
<property name="borderLeftColor">#C0C0C0</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1px</property>
<property name="borderRightColor">#C0C0C0</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1px</property>
<cell id="399">
<label name="iec1131_pouCreationDateLbl" id="400">
<property name="style">light-color-label</property>
<text-property name="text" key="creationDate"></text-property>
</label>
</cell>
<cell id="348">
<data name="iec1131_pouCreationDate" id="349">
<property name="marginTop">0pt</property>
<property name="paddingTop">1pt</property>
<property name="canShrink">true</property>
<property name="resultSetColumn">CreationDate</property>
</data>
</cell>
</row>
<row id="361">
<property name="borderBottomColor">#C0C0C0</property>
<property name="borderBottomStyle">dotted</property>
<property name="borderBottomWidth">1px</property>
<property name="borderLeftColor">#C0C0C0</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1px</property>
<property name="borderRightColor">#C0C0C0</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1px</property>
<cell id="401">
<label name="iec1131_pouAuthorLbl" id="402">
<property name="style">light-color-label</property>
<text-property name="text" key="author"></text-property>
</label>
</cell>
<cell id="350">
<data name="iec1131_pouAuthor" id="351">
<property name="resultSetColumn">Author</property>
</data>
</cell>
</row>
<row id="428">
<property name="borderBottomColor">#C0C0C0</property>
<property name="borderBottomStyle">dotted</property>
<property name="borderBottomWidth">1px</property>
<property name="borderLeftColor">#C0C0C0</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1px</property>
<property name="borderRightColor">#C0C0C0</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1px</property>
<cell id="429">
<label id="431">
<property name="style">light-color-label</property>
<property name="color">#626262</property>
<text-property name="text" key="taskProperties">Task Properties</text-property>
</label>
</cell>
<cell id="430">
<text name="iec1131_TaskPropsText" id="590">
<property name="eventHandlerClass"> com.pilz.pas.iec1131.report.eventhandler.TaskDataEventHandle r </property>
<property name="contentType">html</property>
</text>
</cell>
</row>
<row id="362">
<property name="borderBottomColor">#C0C0C0</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1px</property>
<property name="borderLeftColor">#C0C0C0</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1px</property>
<property name="borderRightColor">#C0C0C0</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1px</property>
<cell id="591">
<label name="iec1131_pouCodeLbl" id="592">
<property name="style">light-color-label</property>
<property name="paddingTop">1pt</property>
<text-property name="text" key="code"></text-property>
</label>
</cell>
<cell id="352">
<text name="iec1131_CodeText" id="593">
<property name="eventHandlerClass"> com.pilz.pas.iec1131.report.eventhandler.POUDataHTMLEventHan dler </property>
<property name="textAlign">left</property>
<property name="contentType">html</property>
</text>
</cell>
</row>
</detail>
</table>
</body>
</report>

--------------010404070900040507000709--
Re: page number formatting in footer [message #366630 is a reply to message #366626] Thu, 15 January 2009 18:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

For some reason this did not come in with a master page. Can you just
post the xml to the reply?

Thanks

Jason

PC wrote:
> Hi Jason,
>
> Please find enclosed report. You won't be able to run it as it uses
> number of java handlers which in turn uses number of other plugins. I
> just renamed it to xml.
>
> Thanks for your help.
>
> - Parvez
>
> Jason Weathersby wrote:
>> Can you post the report?
>>
>> Jason
>>
>> PC wrote:
>>> So it could be a Bug in BIRT 2.3.1 ?
>>>
>>> Is there other/better way to achieve the same?
>>>
>>> Thanks.
>>>
>>>
>>> Thilo Bruesshaber wrote:
>>>> I've seen this behaviour first time in BIRT 2.3.1.
>>>> It seem that this happens when an automatic pagebreak occurs.
>>>> Jason?
>>>>
>>>> PC schrieb:
>>>>> Hi,
>>>>>
>>>>> In my pdf report (using BIRT 2.3.1) I am displaying (master page -
>>>>> footer) page number.
>>>>>
>>>>> For that I am using grid with 1 row and 4 cells (Page, Page Number,
>>>>> / , Total Page). Idea is to display like this:
>>>>>
>>>>> Page 1 / 3
>>>>> Page 2 / 3
>>>>>
>>>>> Page word is internationalised, so comes from properties file.
>>>>>
>>>>> But formatting is not not good, one is there is gap in values (even
>>>>> after removing margins) and formatting gets lost in next page (I am
>>>>> not sure why as this is in footer of master page so should be
>>>>> consistent, any thoughts?), Please see attached images.
>>>>>
>>>>> Is there a better way to do this?
>>>>>
>>>>> Thanks.
>>>>> - Parvez
>>>>>
>>>>> ------------------------------------------------------------ ------------
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------ ------------
>>>>>
>>>>>
>
Re: page number formatting in footer [message #366650 is a reply to message #366630] Mon, 19 January 2009 13:35 Go to previous messageGo to next message
Parvez is currently offline ParvezFriend
Messages: 181
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------070106050504090102080305
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

Hi Jason,

Master page is in library, forgot to attach it, sorry.
Please find enclosed. Master page name is: PASHeaderFooter, id 156

Thanks.
- Parvez


Jason Weathersby wrote:
> For some reason this did not come in with a master page. Can you just
> post the xml to the reply?
>
> Thanks
>
> Jason
>
> PC wrote:
>> Hi Jason,
>>
>> Please find enclosed report. You won't be able to run it as it uses
>> number of java handlers which in turn uses number of other plugins. I
>> just renamed it to xml.
>>
>> Thanks for your help.
>>
>> - Parvez
>>
>> Jason Weathersby wrote:
>>> Can you post the report?
>>>
>>> Jason
>>>
>>> PC wrote:
>>>> So it could be a Bug in BIRT 2.3.1 ?
>>>>
>>>> Is there other/better way to achieve the same?
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> Thilo Bruesshaber wrote:
>>>>> I've seen this behaviour first time in BIRT 2.3.1.
>>>>> It seem that this happens when an automatic pagebreak occurs.
>>>>> Jason?
>>>>>
>>>>> PC schrieb:
>>>>>> Hi,
>>>>>>
>>>>>> In my pdf report (using BIRT 2.3.1) I am displaying (master page
>>>>>> - footer) page number.
>>>>>>
>>>>>> For that I am using grid with 1 row and 4 cells (Page, Page
>>>>>> Number, / , Total Page). Idea is to display like this:
>>>>>>
>>>>>> Page 1 / 3
>>>>>> Page 2 / 3
>>>>>>
>>>>>> Page word is internationalised, so comes from properties file.
>>>>>>
>>>>>> But formatting is not not good, one is there is gap in values
>>>>>> (even after removing margins) and formatting gets lost in next
>>>>>> page (I am not sure why as this is in footer of master page so
>>>>>> should be consistent, any thoughts?), Please see attached images.
>>>>>>
>>>>>> Is there a better way to do this?
>>>>>>
>>>>>> Thanks.
>>>>>> - Parvez
>>>>>>
>>>>>> ------------------------------------------------------------ ------------
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------ ------------
>>>>>>
>>>>>>
>>


--------------070106050504090102080305
Content-Type: text/xml;
name="pas.rptlibrary"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="pas.rptlibrary"

<?xml version="1.0" encoding="UTF-8"?>
<library xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.17" id="1">
<property name="createdBy">Eclipse BIRT Designer Version 2.3.1.v20080911 Build &lt;2.3.1.v20080917-1340></property>
<property name="units">in</property>
<simple-property-list name="includeResource">
<value>localization/pas_reports_en</value>
</simple-property-list>
<property name="comments">Copyright (c) 2008 Pilz</property>
<property name="theme">PASTheme</property>
<themes>
<theme name="PASTheme" id="2">
<list-property name="cssStyleSheets">
<structure>
<property name="fileName">css/pas.css</property>
</structure>
</list-property>
</theme>
</themes>
<page-setup>
<simple-master-page name="PASHeaderFooter" id="156">
<property name="type">a4</property>
<property name="topMargin">0.25in</property>
<property name="leftMargin">0.25in</property>
<property name="bottomMargin">0.02in</property>
<property name="rightMargin">0.25in</property>
<property name="headerHeight">0.5in</property>
<property name="footerHeight">0.3in</property>
<page-header>
<grid name="headerMainGrid" id="146">
<property name="backgroundAttachment">scroll</property>
<property name="backgroundPositionX">0%</property>
<property name="backgroundPositionY">0%</property>
<property name="borderBottomColor">#000000</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">thin</property>
<property name="marginTop">0pt</property>
<property name="width">100%</property>
<column id="147">
<property name="width">4.96875in</property>
</column>
<column id="148"/>
<row id="149">
<property name="backgroundColor">#FEAA02</property>
<cell id="11">
<property name="backgroundRepeat">repeat</property>
<property name="paddingTop">1pt</property>
<property name="textAlign">left</property>
<property name="verticalAlign">middle</property>
</cell>
<cell id="13">
<property name="textAlign">right</property>
<image name="pilzLogo" id="14">
<property name="height">30px</property>
<property name="width">52px</property>
<property name="source">file</property>
<expression name="uri">"images/pilz_logo3.jpg"</expression>
<text-property name="altText">Company Logo</text-property>
<structure name="action">
<property name="linkType">none</property>
</structure>
</image>
</cell>
</row>
</grid>
</page-header>
<page-footer>
<grid name="NewGrid" id="185">
<property name="borderTopColor">#000000</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">thin</property>
<property name="width">100%</property>
<column id="186"/>
<column id="187"/>
<column id="188"/>
<row id="189">
<cell id="190">
<property name="textAlign">left</property>
<grid name="toolAndModifiedGrid" id="193">
<property name="width">100%</property>
<column id="194"/>
<row id="195">
<cell id="196">
<label name="toolNameAndVersionLabel" id="200">
<property name="fontSize">small</property>
<text-property name="text" key="toolNameAndVersion"></text-property>
</label>
</cell>
</row>
</grid>
</cell>
<cell id="191">
<property name="textAlign">center</property>
<text name="projectName" id="12">
<property name="eventHandlerClass"> com.pilz.pas.platform.report.core.eventhandlers.ProjectNameE ventHandler </property>
<property name="fontSize">small</property>
<property name="fontWeight">normal</property>
<property name="marginTop">0pt</property>
<property name="paddingTop">1pt</property>
</text>
</cell>
<cell id="192">
<property name="fontSize">small</property>
<property name="textAlign">right</property>
<grid name="pageNumberGrid" id="212">
<property name="verticalAlign">middle</property>
<property name="canShrink">true</property>
<property name="width">55%</property>
<column id="213"/>
<column id="214"/>
<column id="215"/>
<column id="216"/>
<row id="217">
<cell id="218">
<property name="paddingRight">0pt</property>
<label name="pageNumberLbl" id="222">
<property name="fontSize">small</property>
<property name="paddingRight">0pt</property>
<text-property name="text" key="page"></text-property>
</label>
</cell>
<cell id="219">
<property name="paddingLeft">0pt</property>
<property name="paddingRight">0pt</property>
<auto-text name="pageNumberTxt" id="207">
<property name="fontSize">small</property>
<property name="marginTop">0pt</property>
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">1pt</property>
<property name="paddingRight">0pt</property>
<property name="type">page-number</property>
</auto-text>
</cell>
<cell id="220">
<property name="paddingLeft">0pt</property>
<property name="paddingRight">0pt</property>
<text name="pageNumberSepTxt" id="209">
<property name="fontSize">small</property>
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">1pt</property>
<property name="paddingRight">0pt</property>
<property name="textAlign">center</property>
<property name="contentType">plain</property>
<text-property name="content"><![CDATA[/]]></text-property>
</text>
</cell>
<cell id="221">
<property name="paddingLeft">0pt</property>
<property name="paddingRight">0pt</property>
<auto-text name="totalPageNoTxt" id="211">
<property name="fontSize">small</property>
<property name="marginTop">0pt</property>
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">1pt</property>
<property name="paddingRight">0pt</property>
<property name="textAlign">left</property>
<property name="type">total-page</property>
</auto-text>
</cell>
</row>
</grid>
</cell>
</row>
</grid>
</page-footer>
</simple-master-page>
<simple-master-page name="PASHeaderFooterLandscape" id="157">
<property name="type">a4</property>
<property name="orientation">landscape</property>
<property name="topMargin">0.25in</property>
<property name="leftMargin">0.25in</property>
<property name="bottomMargin">0.02in</property>
<property name="rightMargin">0.25in</property>
<property name="headerHeight">0.5in</property>
<property name="footerHeight">0.3in</property>
<page-header>
<grid name="headerMainGrid_2" id="158">
<property name="backgroundAttachment">scroll</property>
<property name="backgroundPositionX">0%</property>
<property name="backgroundPositionY">0%</property>
<property name="borderBottomColor">#000000</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">thin</property>
<property name="marginTop">0pt</property>
<property name="width">100%</property>
<column id="159">
<property name="width">4.96875in</property>
</column>
<column id="160"/>
<row id="161">
<property name="backgroundColor">#FEAA02</property>
<cell id="162">
<property name="backgroundRepeat">repeat</property>
<property name="paddingTop">1pt</property>
<property name="textAlign">left</property>
<property name="verticalAlign">middle</property>
<text name="projectName_2" id="163">
<property name="eventHandlerClass"> com.pilz.pas.platform.report.core.eventhandlers.ProjectNameE ventHandler </property>
<property name="fontWeight">normal</property>
<property name="marginTop">0pt</property>
<property name="paddingTop">1pt</property>
</text>
</cell>
<cell id="164">
<property name="textAlign">right</property>
<image name="pilzLogo_2" id="165">
<property name="height">30px</property>
<property name="width">52px</property>
<property name="source">file</property>
<expression name="uri">"images/pilz_logo3.jpg"</expression>
<text-property name="altText">Company Logo</text-property>
<structure name="action">
<property name="linkType">none</property>
</structure>
</image>
</cell>
</row>
</grid>
</page-header>
<page-footer>
<grid name="footerMainGrid_2" id="166">
<property name="borderTopColor">#000000</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">thin</property>
<property name="marginTop">0pt</property>
<property name="width">100%</property>
<column id="167">
<property name="width">9.90625in</property>
</column>
<column id="168">
<property name="textAlign">right</property>
</column>
<row id="169">
<cell id="170">
<property name="paddingTop">1pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingRight">1pt</property>
<property name="textAlign">left</property>
<text name="todatyDate_2" id="171">
<property name="paddingTop">1pt</property>
<property name="textAlign">left</property>
<property name="contentType">html</property>
<text-property name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
</text>
</cell>
<cell id="172">
<property name="paddingTop">1pt</property>
<property name="paddingLeft">1pt</property>
<property name="paddingRight">0pt</property>
<property name="textAlign">right</property>
<property name="canShrink">true</property>
<grid name="pageNumberGrid_2" id="173">
<property name="marginTop">0pt</property>
<property name="width">100%</property>
<column id="174">
<property name="width">0.5416666667in</property>
</column>
<column id="175">
<property name="width">0.2083333333in</property>
</column>
<column id="176"/>
<row id="177">
<cell id="178">
<property name="paddingTop">1pt</property>
<property name="paddingRight">0pt</property>
<auto-text name="pageNumberTxt_2" id="179">
<property name="paddingTop">0pt</property>
<property name="paddingBottom">1pt</property>
<property name="paddingRight">0pt</property>
<property name="type">page-number</property>
</auto-text>
</cell>
<cell id="180">
<property name="paddingTop">1pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingRight">0pt</property>
<property name="textAlign">center</property>
<text name="pageNumberSepTxt_2" id="181">
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">1pt</property>
<property name="paddingRight">0pt</property>
<property name="textAlign">center</property>
<property name="contentType">plain</property>
<text-property name="content"><![CDATA[/]]></text-property>
</text>
</cell>
<cell id="182">
<property name="paddingTop">1pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">1pt</property>
<property name="paddingRight">0pt</property>
<property name="textAlign">right</property>
<auto-text name="totalPageNoTxt_2" id="183">
<property name="marginTop">0pt</property>
<property name="paddingTop">0pt</property>
<property name="paddingLeft">0pt</property>
<property name="paddingBottom">1pt</property>
<property name="paddingRight">1pt</property>
<property name="textAlign">right</property>
<property name="type">total-page</property>
</auto-text>
</cell>
</row>
</grid>
</cell>
</row>
</grid>
</page-footer>
</simple-master-page>
</page-setup>
</library>

--------------070106050504090102080305--
Re: page number formatting in footer [message #366657 is a reply to message #366650] Mon, 19 January 2009 23:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Parvez,

Does changing the footer margin make a difference?

Jason

PC wrote:
> Hi Jason,
>
> Master page is in library, forgot to attach it, sorry.
> Please find enclosed. Master page name is: PASHeaderFooter, id 156
>
> Thanks.
> - Parvez
>
>
> Jason Weathersby wrote:
>> For some reason this did not come in with a master page. Can you just
>> post the xml to the reply?
>>
>> Thanks
>>
>> Jason
>>
>> PC wrote:
>>> Hi Jason,
>>>
>>> Please find enclosed report. You won't be able to run it as it uses
>>> number of java handlers which in turn uses number of other plugins. I
>>> just renamed it to xml.
>>>
>>> Thanks for your help.
>>>
>>> - Parvez
>>>
>>> Jason Weathersby wrote:
>>>> Can you post the report?
>>>>
>>>> Jason
>>>>
>>>> PC wrote:
>>>>> So it could be a Bug in BIRT 2.3.1 ?
>>>>>
>>>>> Is there other/better way to achieve the same?
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>> Thilo Bruesshaber wrote:
>>>>>> I've seen this behaviour first time in BIRT 2.3.1.
>>>>>> It seem that this happens when an automatic pagebreak occurs.
>>>>>> Jason?
>>>>>>
>>>>>> PC schrieb:
>>>>>>> Hi,
>>>>>>>
>>>>>>> In my pdf report (using BIRT 2.3.1) I am displaying (master page
>>>>>>> - footer) page number.
>>>>>>>
>>>>>>> For that I am using grid with 1 row and 4 cells (Page, Page
>>>>>>> Number, / , Total Page). Idea is to display like this:
>>>>>>>
>>>>>>> Page 1 / 3
>>>>>>> Page 2 / 3
>>>>>>>
>>>>>>> Page word is internationalised, so comes from properties file.
>>>>>>>
>>>>>>> But formatting is not not good, one is there is gap in values
>>>>>>> (even after removing margins) and formatting gets lost in next
>>>>>>> page (I am not sure why as this is in footer of master page so
>>>>>>> should be consistent, any thoughts?), Please see attached images.
>>>>>>>
>>>>>>> Is there a better way to do this?
>>>>>>>
>>>>>>> Thanks.
>>>>>>> - Parvez
>>>>>>>
>>>>>>> ------------------------------------------------------------ ------------
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------ ------------
>>>>>>>
>>>>>>>
>>>
>
Re: page number formatting in footer [message #366670 is a reply to message #366657] Tue, 20 January 2009 11:46 Go to previous messageGo to next message
Parvez is currently offline ParvezFriend
Messages: 181
Registered: July 2009
Senior Member
Hi Jason,

I just tried changing footer height and bottom margin.
But didn't make any difference.

- Parvez

Jason Weathersby wrote:
> Parvez,
>
> Does changing the footer margin make a difference?
>
> Jason
>
> PC wrote:
>> Hi Jason,
>>
>> Master page is in library, forgot to attach it, sorry.
>> Please find enclosed. Master page name is: PASHeaderFooter, id 156
>>
>> Thanks.
>> - Parvez
>>
>>
>> Jason Weathersby wrote:
>>> For some reason this did not come in with a master page. Can you
>>> just post the xml to the reply?
>>>
>>> Thanks
>>>
>>> Jason
>>>
>>> PC wrote:
>>>> Hi Jason,
>>>>
>>>> Please find enclosed report. You won't be able to run it as it uses
>>>> number of java handlers which in turn uses number of other plugins.
>>>> I just renamed it to xml.
>>>>
>>>> Thanks for your help.
>>>>
>>>> - Parvez
>>>>
>>>> Jason Weathersby wrote:
>>>>> Can you post the report?
>>>>>
>>>>> Jason
>>>>>
>>>>> PC wrote:
>>>>>> So it could be a Bug in BIRT 2.3.1 ?
>>>>>>
>>>>>> Is there other/better way to achieve the same?
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>>
>>>>>> Thilo Bruesshaber wrote:
>>>>>>> I've seen this behaviour first time in BIRT 2.3.1.
>>>>>>> It seem that this happens when an automatic pagebreak occurs.
>>>>>>> Jason?
>>>>>>>
>>>>>>> PC schrieb:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> In my pdf report (using BIRT 2.3.1) I am displaying (master
>>>>>>>> page - footer) page number.
>>>>>>>>
>>>>>>>> For that I am using grid with 1 row and 4 cells (Page, Page
>>>>>>>> Number, / , Total Page). Idea is to display like this:
>>>>>>>>
>>>>>>>> Page 1 / 3
>>>>>>>> Page 2 / 3
>>>>>>>>
>>>>>>>> Page word is internationalised, so comes from properties file.
>>>>>>>>
>>>>>>>> But formatting is not not good, one is there is gap in values
>>>>>>>> (even after removing margins) and formatting gets lost in next
>>>>>>>> page (I am not sure why as this is in footer of master page so
>>>>>>>> should be consistent, any thoughts?), Please see attached images.
>>>>>>>>
>>>>>>>> Is there a better way to do this?
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>> - Parvez
>>>>>>>>
>>>>>>>> ------------------------------------------------------------ ------------
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------ ------------
>>>>>>>>
>>>>>>>>
>>>>
>>
Re: page number formatting in footer [message #366671 is a reply to message #366670] Tue, 20 January 2009 15:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Parvez,

I am having a hard time reproducing this error. I took your footer and
added it to one of my reports. I had to delete the one event field, but
the pagination worked fine in html and pdf.

Jason

PC wrote:
> Hi Jason,
>
> I just tried changing footer height and bottom margin.
> But didn't make any difference.
>
> - Parvez
>
> Jason Weathersby wrote:
>> Parvez,
>>
>> Does changing the footer margin make a difference?
>>
>> Jason
>>
>> PC wrote:
>>> Hi Jason,
>>>
>>> Master page is in library, forgot to attach it, sorry.
>>> Please find enclosed. Master page name is: PASHeaderFooter, id 156
>>>
>>> Thanks.
>>> - Parvez
>>>
>>>
>>> Jason Weathersby wrote:
>>>> For some reason this did not come in with a master page. Can you
>>>> just post the xml to the reply?
>>>>
>>>> Thanks
>>>>
>>>> Jason
>>>>
>>>> PC wrote:
>>>>> Hi Jason,
>>>>>
>>>>> Please find enclosed report. You won't be able to run it as it uses
>>>>> number of java handlers which in turn uses number of other plugins.
>>>>> I just renamed it to xml.
>>>>>
>>>>> Thanks for your help.
>>>>>
>>>>> - Parvez
>>>>>
>>>>> Jason Weathersby wrote:
>>>>>> Can you post the report?
>>>>>>
>>>>>> Jason
>>>>>>
>>>>>> PC wrote:
>>>>>>> So it could be a Bug in BIRT 2.3.1 ?
>>>>>>>
>>>>>>> Is there other/better way to achieve the same?
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>>
>>>>>>> Thilo Bruesshaber wrote:
>>>>>>>> I've seen this behaviour first time in BIRT 2.3.1.
>>>>>>>> It seem that this happens when an automatic pagebreak occurs.
>>>>>>>> Jason?
>>>>>>>>
>>>>>>>> PC schrieb:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> In my pdf report (using BIRT 2.3.1) I am displaying (master
>>>>>>>>> page - footer) page number.
>>>>>>>>>
>>>>>>>>> For that I am using grid with 1 row and 4 cells (Page, Page
>>>>>>>>> Number, / , Total Page). Idea is to display like this:
>>>>>>>>>
>>>>>>>>> Page 1 / 3
>>>>>>>>> Page 2 / 3
>>>>>>>>>
>>>>>>>>> Page word is internationalised, so comes from properties file.
>>>>>>>>>
>>>>>>>>> But formatting is not not good, one is there is gap in values
>>>>>>>>> (even after removing margins) and formatting gets lost in next
>>>>>>>>> page (I am not sure why as this is in footer of master page so
>>>>>>>>> should be consistent, any thoughts?), Please see attached images.
>>>>>>>>>
>>>>>>>>> Is there a better way to do this?
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>> - Parvez
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------ ------------
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------ ------------
>>>>>>>>>
>>>>>>>>>
>>>>>
>>>
Re: page number formatting in footer [message #366673 is a reply to message #366671] Tue, 20 January 2009 16:40 Go to previous message
Parvez is currently offline ParvezFriend
Messages: 181
Registered: July 2009
Senior Member
Thats fine Jason.

I think I can leave it, it is not that critical to have page word in
footer (at least for now :-))

Thanks for your time.

- Parvez

Jason Weathersby wrote:
> Parvez,
>
> I am having a hard time reproducing this error. I took your footer and
> added it to one of my reports. I had to delete the one event field, but
> the pagination worked fine in html and pdf.
>
> Jason
>
> PC wrote:
>> Hi Jason,
>>
>> I just tried changing footer height and bottom margin.
>> But didn't make any difference.
>>
>> - Parvez
>>
>> Jason Weathersby wrote:
>>> Parvez,
>>>
>>> Does changing the footer margin make a difference?
>>>
>>> Jason
>>>
>>> PC wrote:
>>>> Hi Jason,
>>>>
>>>> Master page is in library, forgot to attach it, sorry.
>>>> Please find enclosed. Master page name is: PASHeaderFooter, id 156
>>>>
>>>> Thanks.
>>>> - Parvez
>>>>
>>>>
>>>> Jason Weathersby wrote:
>>>>> For some reason this did not come in with a master page. Can you
>>>>> just post the xml to the reply?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Jason
>>>>>
>>>>> PC wrote:
>>>>>> Hi Jason,
>>>>>>
>>>>>> Please find enclosed report. You won't be able to run it as it
>>>>>> uses number of java handlers which in turn uses number of other
>>>>>> plugins. I just renamed it to xml.
>>>>>>
>>>>>> Thanks for your help.
>>>>>>
>>>>>> - Parvez
>>>>>>
>>>>>> Jason Weathersby wrote:
>>>>>>> Can you post the report?
>>>>>>>
>>>>>>> Jason
>>>>>>>
>>>>>>> PC wrote:
>>>>>>>> So it could be a Bug in BIRT 2.3.1 ?
>>>>>>>>
>>>>>>>> Is there other/better way to achieve the same?
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>>
>>>>>>>> Thilo Bruesshaber wrote:
>>>>>>>>> I've seen this behaviour first time in BIRT 2.3.1.
>>>>>>>>> It seem that this happens when an automatic pagebreak occurs.
>>>>>>>>> Jason?
>>>>>>>>>
>>>>>>>>> PC schrieb:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> In my pdf report (using BIRT 2.3.1) I am displaying (master
>>>>>>>>>> page - footer) page number.
>>>>>>>>>>
>>>>>>>>>> For that I am using grid with 1 row and 4 cells (Page, Page
>>>>>>>>>> Number, / , Total Page). Idea is to display like this:
>>>>>>>>>>
>>>>>>>>>> Page 1 / 3
>>>>>>>>>> Page 2 / 3
>>>>>>>>>>
>>>>>>>>>> Page word is internationalised, so comes from properties file.
>>>>>>>>>>
>>>>>>>>>> But formatting is not not good, one is there is gap in values
>>>>>>>>>> (even after removing margins) and formatting gets lost in next
>>>>>>>>>> page (I am not sure why as this is in footer of master page so
>>>>>>>>>> should be consistent, any thoughts?), Please see attached images.
>>>>>>>>>>
>>>>>>>>>> Is there a better way to do this?
>>>>>>>>>>
>>>>>>>>>> Thanks.
>>>>>>>>>> - Parvez
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------ ------------
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------ ------------
>>>>>>>>>>
>>>>>>>>>>
>>>>>>
>>>>
Previous Topic:DEAPI : easy way to get all LabelHandle from a ReportDesignHandle
Next Topic:PDF hyperlink hover tooltip text
Goto Forum:
  


Current Time: Thu Apr 25 12:08:52 GMT 2024

Powered by FUDForum. Page generated in 0.04598 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top