Skip to main content



      Home
Home » Archived » BIRT » different styles for pdf and html
different styles for pdf and html [message #124672] Mon, 06 February 2006 04:50 Go to next message
Eclipse UserFriend
Originally posted by: stefano.comarin.primeur.com

Hi,
my problem is that fonts are bigger in HTML output than in PDF output so
I want to apply different styles to report elements based on the output
format: is there a simple way to do this? If not, it would be a great
feature for the next release :)
I think I could use a parameter to specify the output format and set a
different library of styles based on the parameter, is it possible?

Thanks,
Stefano
Re: different styles for pdf and html [message #125125 is a reply to message #124672] Tue, 07 February 2006 03:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stefano.comarin.primeur.com

It seems that there isn't a simple solution to this problem so I decided
to create two libraries or two different themes in my library. Does
anyonw know how to change the library or the theme at runtime (probably
in the beforeRender method) ?

Thanks,
Stefano

Stefano Comarin wrote:
> Hi,
> my problem is that fonts are bigger in HTML output than in PDF output so
> I want to apply different styles to report elements based on the output
> format: is there a simple way to do this? If not, it would be a great
> feature for the next release :)
> I think I could use a parameter to specify the output format and set a
> different library of styles based on the parameter, is it possible?
>
> Thanks,
> Stefano
Re: different styles for pdf and html [message #126225 is a reply to message #125125] Wed, 08 February 2006 11:40 Go to previous message
Eclipse UserFriend
Originally posted by: stefano.comarin.primeur.com

If it's not possible to set the library or theme with scripting, at
least how can I set the font size of a style at runtime?

Thanks,
Stefano

Stefano Comarin wrote:
> It seems that there isn't a simple solution to this problem so I decided
> to create two libraries or two different themes in my library. Does
> anyonw know how to change the library or the theme at runtime (probably
> in the beforeRender method) ?
>
> Thanks,
> Stefano
>
> Stefano Comarin wrote:
>
>> Hi,
>> my problem is that fonts are bigger in HTML output than in PDF output
>> so I want to apply different styles to report elements based on the
>> output format: is there a simple way to do this? If not, it would be a
>> great feature for the next release :)
>> I think I could use a parameter to specify the output format and set a
>> different library of styles based on the parameter, is it possible?
>>
>> Thanks,
>> Stefano
Previous Topic:Reg : How to the chart report into diffrent pages
Next Topic:BIRT Report Viewer in my application
Goto Forum:
  


Current Time: Sun Jul 27 06:21:15 EDT 2025

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

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

Back to the top