Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 168070

Summary: report:link does not work
Product: z_Archived Reporter: Leos Literak <literakl>
Component: BIRTAssignee: Wei Yan <wyan>
Status: VERIFIED FIXED QA Contact: Xiaodan Wang <xwang>
Severity: normal    
Priority: P3 Keywords: plan
Version: 2.1.1   
Target Milestone: 2.5.0   
Hardware: PC   
OS: Linux   
Whiteboard: Non-Auto
Attachments:
Description Flags
report with style for links none

Description Leos Literak CLA 2006-12-14 10:57:56 EST
I want to define custom colors for hyperlinks. I read following PDF, where there is description of :link pseudoclass
http://www.eclipse.org/birt/phoenix/ref/ROM_Styles_SPEC.pdf

I defined it but it does not work, the link (A) is rendered in blue (browser default). Looking to HTML there is no style for :link, :hover or :visited pseudoclass. Even I saw that there is space in index of style names, e.g. three styles are missing (style_0, style_1, style_2, style_6, style_7), so it seems like HTNL emitter skips their declaration.

I constructed minimal example report design, please try it.
Comment 1 Leos Literak CLA 2006-12-14 10:58:36 EST
Created attachment 55681 [details]
report with style for links
Comment 2 Wei Yan CLA 2006-12-17 20:04:26 EST
the pseudoclass is not supported yet.
Comment 3 Leos Literak CLA 2006-12-18 02:30:56 EST
Unsupported? Uff, then your specification is misleading :-( I need to fix it really soon, is there some workaround? Thanks in advance for any hint, as this is crucial for our BIRT integration
Comment 4 Wei Yan CLA 2008-10-10 03:30:34 EDT
The pseudo style is only supported in HTML and it is supported through "external css style".

see 154221 for reference
Comment 5 Xiaodan Wang CLA 2008-12-24 07:21:56 EST
Verified in build (2.5.0.v20081224-0630).