|
|
Re: Hyperlink are always displayed underlined in blue in Birt2.3.1 [message #365441 is a reply to message #365437] |
Thu, 02 October 2008 14:40 |
Eclipse User |
|
|
|
Originally posted by: jasonweathersby.alltel.net
A couple of options:
1 - take a look at the webcontent/birt/styles directory and add your
link style to one of the main styles in the style.css.
2 - build the hyperlink using a text element and enter the link style
inline ie
<a style="color: #FF0000" href="http://www.google.com">mylink</a>
Jason
Chris wrote:
> Hello,
>
> We have exactly the same issue.
>
> We don't want to remove the hyperlinks (I know the example on
> birt-exchange suppressing the hyperlings when rendering e.g. PDF) - we
> simply want to format them with different colors.
>
>
> Any ideas?
>
> Chris
|
|
|
|
Re: Hyperlink are always displayed underlined in blue in Birt2.3.1 [message #366715 is a reply to message #366488] |
Fri, 23 January 2009 15:56 |
Eclipse User |
|
|
|
Originally posted by: jasonweathersby.alltel.net
Keith,
Sorry for the late response. You can set a style for a report and in
script use the reportContext.getOutputFormat() to conditionally set
style properties based on the output.
Jason
Keith Carlton wrote:
> Jason,
>
> If you take route #1 to format a hyperlink, it will be displayed on
> screen as you would like, but with 2 drawbacks:
> 1. If you would like your links to be formatted differently in different
> reports, you cannot.
> 2. When/if the report is printed, it will go back to the default
> hyperlink format. This makes the printed versions of the report more
> difficult to read (our reports will be printed about 50% of the time).
>
> Point #2 brings me to a question: is there a way to specify the media
> for a specific style (i.e. screen v. print)?
>
> Thanks,
>
> Keith
>
> Jason Weathersby wrote:
>
>> A couple of options:
>
>> 1 - take a look at the webcontent/birt/styles directory and add your
>> link style to one of the main styles in the style.css.
>
>> 2 - build the hyperlink using a text element and enter the link style
>> inline ie
>> <a style="color: #FF0000" href="http://www.google.com">mylink</a>
>
>> Jason
>
>
>> Chris wrote:
>>> Hello,
>>>
>>> We have exactly the same issue.
>>>
>>> We don't want to remove the hyperlinks (I know the example on
>>> birt-exchange suppressing the hyperlings when rendering e.g. PDF) -
>>> we simply want to format them with different colors.
>>>
>>>
>>> Any ideas?
>>>
>>> Chris
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02561 seconds