Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Hyperlink are always displayed underlined in blue in Birt2.3.1
Hyperlink are always displayed underlined in blue in Birt2.3.1 [message #365385] Wed, 01 October 2008 05:59 Go to next message
Eclipse User
Originally posted by: moi.toto.com

The hyperlink are always displayed underlined in blue in Birt2.3.1. Is
it possible to change this property in report ?

Regards,
Moi.
Re: Hyperlink are always displayed underlined in blue in Birt2.3.1 [message #365437 is a reply to message #365385] Thu, 02 October 2008 10:08 Go to previous messageGo to next message
Eclipse User
Originally posted by: birt.lewold.at

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 #365441 is a reply to message #365437] Thu, 02 October 2008 10:40 Go to previous messageGo to next message
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 #366488 is a reply to message #365441] Mon, 05 January 2009 15:42 Go to previous messageGo to next message
Keith Carlton is currently offline Keith Carlton
Messages: 7
Registered: July 2009
Junior Member
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
Re: Hyperlink are always displayed underlined in blue in Birt2.3.1 [message #366715 is a reply to message #366488] Fri, 23 January 2009 10:56 Go to previous message
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
>
>
Previous Topic:Ecore ODA Driver
Next Topic:Barchart - Problem... supressing multiple bars
Goto Forum:
  


Current Time: Wed Apr 16 03:20:14 EDT 2014

Powered by FUDForum. Page generated in 0.07504 seconds