Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Adding text in master page (header and footer) problem(I am not able to add my text in header and footer)
Adding text in master page (header and footer) problem [message #869504] Thu, 03 May 2012 13:46 Go to next message
Dejan Vujanic is currently offline Dejan VujanicFriend
Messages: 67
Registered: October 2011
Member
Hi,

I am not able to add some new text or labels in my header and footer.
I just want to add some text above header's picture and add new text in footer area.
But when I try to drop label or text I am not able to do that.
Also when I try to add new row or column in grids which are on header and footer I am also not able to do that (because I would like to add that new text in grid cell)

Why is that protected and how to change that? I am sending my example

Thanks for help
Re: Adding text in master page (header and footer) problem [message #869680 is a reply to message #869504] Thu, 03 May 2012 17:12 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I believe this is because your master page is actually in a library.
You can create a new master page (from outline view) and see if that one
is editable.

Jason

On 5/3/2012 9:46 AM, cankovicv wrote:
> Hi,
>
> I am not able to add some new text or labels in my header and footer.
> I just want to add some text above header's picture and add new text in footer area.
> But when I try to drop label or text I am not able to do that.
> Also when I try to add new row or column in grids which are on header and footer I am also not able to do that (because I would like to add that new text in grid cell)
>
> Why is that protected and how to change that? I am sending my example
>
> Thanks for help
Re: Adding text in master page (header and footer) problem [message #869860 is a reply to message #869680] Fri, 04 May 2012 14:53 Go to previous messageGo to next message
Dejan Vujanic is currently offline Dejan VujanicFriend
Messages: 67
Registered: October 2011
Member
Jason thanks for reply but I am having some problems.

Yes that master page is in library, which also has data source which I am using so I wouldn't like to remove my complete library.

I created new master page from Outline view with look I wanted I put some text, but when I generate report it displays me only the first modified master page which is in that library and which I can not add text in footer or header.

How to solve this?Maybe to somehow duplicate library and use only my new created master page? This is my new example as you can see I am having two master pages.. I tried deleting default master page but it anyway shows it

I will appreciate help,Thanks
Re: Adding text in master page (header and footer) problem [message #869884 is a reply to message #869860] Fri, 04 May 2012 15:51 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Take a look at the report items on the canvas. Select them and then
look at the page break properties. Verify that you set the master page
to the new master page you created.

Jason

On 5/4/2012 10:53 AM, cankovicv wrote:
> Jason thanks for reply but I am having some problems.
>
> Yes that master page is in library, which also has data source which I am using so I wouldn't like to remove my complete library.
>
> I created new master page from Outline view with look I wanted I put some text, but when I generate report it displays me only the first modified master page which is in that library and which I can not add text in footer or header.
>
> How to solve this?Maybe to somehow duplicate library and use only my new created master page? This is my new example as you can see I am having two master pages.. I tried deleting default master page but it anyway shows it
>
> I will appreciate help,Thanks
Re: Adding text in master page (header and footer) problem [message #869904 is a reply to message #869884] Fri, 04 May 2012 17:40 Go to previous messageGo to next message
Dejan Vujanic is currently offline Dejan VujanicFriend
Messages: 67
Registered: October 2011
Member
What items on the canvas should I select? Should I select all of them? I found "page break " option and currently it is set to None. I tried selecting something but it makes me two pages one "default" master page and second new master page but blank.
Thanks
Re: Adding text in master page (header and footer) problem [message #870308 is a reply to message #869904] Mon, 07 May 2012 15:46 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

The example report you posted looks like it has a top level table that
contains everything in the report. If you set its master page to the
new one it should work. You should not have to set any other.

Jason

On 5/4/2012 1:40 PM, cankovicv wrote:
> What items on the canvas should I select? Should I select all of them? I
> found "page break " option and currently it is set to None. I tried
> selecting something but it makes me two pages one "default" master page
> and second new master page but blank.
> Thanks
Re: Adding text in master page (header and footer) problem [message #870512 is a reply to message #870308] Tue, 08 May 2012 13:50 Go to previous messageGo to next message
Dejan Vujanic is currently offline Dejan VujanicFriend
Messages: 67
Registered: October 2011
Member
Thanks Jason. Again you solved it!!!
If you have time I will be thankful to take a look at this my problem I am having some difficulties when exporting to PDF http://www.eclipse.org/forums/index.php/t/351229/ maybe I must do some settings for localization letters problem because they are presented differently. You can see them in above report you have downloaded earlier.

Thank You,
cankovicv
Re: Adding text in master page (header and footer) problem [message #870589 is a reply to message #870512] Tue, 08 May 2012 20:52 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I am not exactly sure how Maximo runs reports and also how the
fontsConfig file is configured.

Jason

On 5/8/2012 9:50 AM, cankovicv wrote:
> Thanks Jason. Again you solved it!!!
> If you have time I will be thankful to take a look at this my problem I
> am having some difficulties when exporting to PDF
> http://www.eclipse.org/forums/index.php/t/351229/ maybe I must do some
> settings for localization letters problem because they are presented
> differently. You can see them in above report you have downloaded earlier.
>
> Thank You,
> cankovicv
Re: Adding text in master page (header and footer) problem [message #871031 is a reply to message #870589] Thu, 10 May 2012 14:57 Go to previous messageGo to next message
Dejan Vujanic is currently offline Dejan VujanicFriend
Messages: 67
Registered: October 2011
Member
Ok Jason thanks.

But do you know are there any settings within the BIRT for exporting to PDF? some export to PDF options or something like that?
Also is it possible to change encoding somewhere in BIRT? Maybe that is causing the problem...maybe I can try to change encoding...

Thanks
Re: Adding text in master page (header and footer) problem [message #871083 is a reply to message #871031] Thu, 10 May 2012 18:05 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Do you mean within the report itself? I do not know of any setting in
the report that would cause this issue. This looks like a fonts config
issue to me.

Jason

On 5/10/2012 10:57 AM, cankovicv wrote:
> Ok Jason thanks.
>
> But do you know are there any settings within the BIRT for exporting to
> PDF? some export to PDF options or something like that?
> Also is it possible to change encoding somewhere in BIRT? Maybe that is
> causing the problem...maybe I can try to change encoding...
>
> Thanks
Re: Adding text in master page (header and footer) problem [message #871567 is a reply to message #871083] Mon, 14 May 2012 12:37 Go to previous messageGo to next message
Dejan Vujanic is currently offline Dejan VujanicFriend
Messages: 67
Registered: October 2011
Member
Yes I mean within the report itself or some global setting for encoding, or exporting to PDF.

Whatever font I use it always exports me in this hardly readable font look.

I found out that solution is to modify fontsConfig file.

But do I have to modify fontsConfig or fontsConfig_pdf file?

Is it enough to I change that file only on my local computer not and on the server? Because BIRT I have only on my local machine and I import report on server...
Can you give me some inputs how to modify it?I mean what do I have to change... On Linux system does I have to have installed some font family?


I found some solution if you have minut to look at it. Thanos Kyritsis gives explanantion for Cyrilic and also for Greek Letters.


I did as he said:
This is my new fontConfig_pdf file

<?xml version="1.0" encoding="UTF-8"?>
<font>
<font-aliases>
<mapping name="serif" font-family="Times New Roman" />
<mapping name="sans-serif" font-family="Arial" />
<mapping name="monospace" font-family="Courier" />
</font-aliases>
<font-encodings>
<encoding font-family="Times New Roman" encoding="Cp1252" />
<encoding font-family="Arial" encoding="Cp1252" />
<encoding font-family="Courier" encoding="Cp1252" />
<encoding font-family="Zapfdingbats" encoding="Cp1252" />
<encoding font-family="Symbol" encoding="Cp1252" />
<encoding font-family="STSong-Light" encoding="UniGB-UCS2-H" />
<encoding font-family="STSongStd-Light" encoding="UniGB-UCS2-H" />
<encoding font-family="MHei-Medium" encoding="UniCNS-UCS2-H" />
<encoding font-family="MSung-Light" encoding="UniCNS-UCS2-H" />
<encoding font-family="MSungStd-Light" encoding="UniCNS-UCS2-H" />
<encoding font-family="HeiseiMin-W3" encoding="UniJIS-UCS2-H" />
<encoding font-family="HeiseiKakuGo-W5" encoding="UniJIS-UCS2-H" />
<encoding font-family="KozMinPro-Regular" encoding="UniJIS-UCS2-H" />
<encoding font-family="HYGoThic-Medium" encoding="UniKS-UCS2-H" />
<encoding font-family="HYSMyeongJo-Medium" encoding="UniKS-UCS2-H" />
<encoding font-family="HYSMyeongJoStd" encoding="UniKS-UCS2-H" />
</font-encodings>
<composite-font name="all-fonts">
<font font-family="Times-Roman" catalog="Western" />
<!-- <font font-family="MSung-Light" catalog="Chinese" />
<font font-family="HeiseiKakuGo-W5" catalog="Japanese" />
<font font-family="HYGoThic-Medium" catalog="Korean" />
-->
</composite-font>
</font>



What is the mistake then?
Thank you

[Updated on: Mon, 14 May 2012 15:20]

Report message to a moderator

Re: Adding text in master page (header and footer) problem [message #871975 is a reply to message #871567] Tue, 15 May 2012 08:33 Go to previous messageGo to next message
Dejan Vujanic is currently offline Dejan VujanicFriend
Messages: 67
Registered: October 2011
Member
sorry I forgot link above https://bugs.eclipse.org/bugs/show_bug.cgi?id=362057


Also I found solution that for Central European letters I need to change encoding from Cp1252" to encoding="Cp1250" on link http://www-01.ibm.com/support/docview.wss?uid=swg21370210 but big question is when it will take effect?
I change that, created new report but still when exporting to PDF it is not displayed correctly. Is it enough to just change that XML file on my local machine? When I import that new file on server, modifications in fontsConfig file will take effect?Or do I have to do something more? Thanks
Re: Adding text in master page (header and footer) problem [message #872270 is a reply to message #871975] Tue, 15 May 2012 20:05 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

The fonts config file should be changed on both the designer and the
deployed environment.

Jason

On 5/15/2012 4:33 AM, cankovicv wrote:
> sorry I forgot link above
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=362057
>
> Also I found solution that for Central European letters I need to change
> encoding from Cp1252" to encoding="Cp1250" on link
> http://www-01.ibm.com/support/docview.wss?uid=swg21370210 but big
> question is when it will take effect?
> I change that, created new report but still when exporting to PDF it is
> not displayed correctly. Is it enough to just change that XML file on my
> local machine? When I import that new file on server, modifications in
> fontsConfig file will take effect?Or do I have to do something more? Thanks
Re: Adding text in master page (header and footer) problem [message #1729318 is a reply to message #869680] Tue, 12 April 2016 21:44 Go to previous message
swati sharma is currently offline swati sharmaFriend
Messages: 5
Registered: April 2016
Junior Member
hi jeson

i am working on a report where i have created a new master page and by mistake i deleted the old one, now i want to get the old version back can you tell me how?

I would appreciate your help.
Previous Topic:Compute value based on next row or update previous row based on current row
Next Topic:Line graph based on date columns
Goto Forum:
  


Current Time: Thu Mar 28 09:08:13 GMT 2024

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

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

Back to the top