Focal Point
[CLOSED] remove underline from hyperlink in WF8008 and EXL2K format

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4747007096

August 21, 2018, 03:34 PM
WFDevConsultant
[CLOSED] remove underline from hyperlink in WF8008 and EXL2K format
I would like to remove the underline comes with hyperlink (Drilldown).

Tried STYLE=-UNDERLINE - it works in xlsx format but not in EXL2K format.

HYPERLINK-COLOR seems an option in latest version only.

Update: We did upgrade to 8206 but this issue still exists. Now XLSX format works but drilldown in xlsx is not working.

EXL2K - Drilldown works but not able to remove underline on the hyperlink.

XLSX - Removed the underline on the hyperlink but drilldown not works.

I want to do this only in EXL2K format. Any suggestions or thoughts.

Thanks

This message has been edited. Last edited by: FP Mod Chuck,


8.2.06
Windows, All Formats
August 22, 2018, 11:44 AM
jgelona
You can always do with an auto open macro. Just curious, why .xls and not xlsx?


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
August 22, 2018, 12:39 PM
Tom Flynn
OR, You branch accordingly:
  
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE='LETTER', LEFTMARGIN=0.500000, RIGHTMARGIN=0.500000, TOPMARGIN=0.250000,
 BOTTOMMARGIN=0.500000, SQUEEZE=ON, ORIENTATION=LANDSCAPE,$

-IF &OUTPUT EQ 'PDF'   GOTO PDF_OUT   ELSE
-IF &OUTPUT EQ 'EXL2K' GOTO EXL2K_OUT ELSE
-IF &OUTPUT EQ 'EXL07' GOTO EXL07_OUT ELSE
-IF &OUTPUT EQ 'HTML'  GOTO HTML_OUT  ELSE
-IF &OUTPUT EQ 'AHTML' GOTO AHTML_OUT ELSE
- GOTO END_STYLE;

-PDF_OUT
-* PDF Styling
-*----------------------------------------------------------------
-*                            Heading Images
-*----------------------------------------------------------------
-*----------------------------------------------------------------
TYPE=HEADING ,IMAGE=&IMGNAME, SIZE=(&WID &HT), POSITION= (&HPOS1 &HPOS2), $
-* ---------------------------------------------------------------
more stuff
-GOTO END_STYLE

HTML_OUT
-****************************************************************************************************************************************************
TYPE=HEADING ,IMAGE=&IMGNAME, SIZE=(&WID &HT), POSITION= (0 0), $
more stuff
-GOTO END_STYLE

-EXL2K_OUT

TYPE=HEADING, STYLE=BOLD,HEADALIGN=BODY,$
TYPE=TITLE, STYLE=BOLD, JUSTIFY=CENTER,$
more stuff
-GOTO END_STYLE

-END_STYLE
ENDSTYLE
END

ETC....


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
August 22, 2018, 01:46 PM
WFDevConsultant
I am running Compound FML report and when I try XLSX, it didn't give me any output.

I will try that again.


8.2.06
Windows, All Formats
August 24, 2018, 11:51 AM
Doug
Just curious if "it didn't give me any output" is related to the error as discussed in This Post
August 24, 2018, 03:35 PM
Tony A
quote:
-IF &OUTPUT EQ 'PDF' GOTO PDF_OUT ELSE
-IF &OUTPUT EQ 'EXL2K' GOTO EXL2K_OUT ELSE
-IF &OUTPUT EQ 'EXL07' GOTO EXL07_OUT ELSE
-IF &OUTPUT EQ 'HTML' GOTO HTML_OUT ELSE
-IF &OUTPUT EQ 'AHTML' GOTO AHTML_OUT ELSE
- GOTO END_STYLE;

@Tom,

I see that you are still on 7.7.05?

One thing you might want to consider is changing the "GOTO" to "THEN GOTO" which is documented syntax and gets tightened going forward (about 8.1.05 I think?).


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
August 30, 2018, 04:28 PM
Doug
A minor tangent...

quote:
-IF &OUTPUT EQ 'PDF'   GOTO PDF_OUT   ELSE
-IF &OUTPUT EQ 'EXL2K' GOTO EXL2K_OUT ELSE
-IF &OUTPUT EQ 'EXL07' GOTO EXL07_OUT ELSE
-IF &OUTPUT EQ 'HTML'  GOTO HTML_OUT  ELSE
-IF &OUTPUT EQ 'AHTML' GOTO AHTML_OUT ELSE
- GOTO END_STYLE;


How about using one of these two options?
1) You could, as I do, use the following code if you're sure that all the values of &OUTPUT have associated labels:
-GOTO &OUTPUT.EVAL

2) Or use this if they don't:
-IF &OUTPUT.EVAL IN ('PDF','EXL2K','EXL07','HTML','AHTML') THEN GOTO &OUTPUT.EVAL ELSE GOTO NO_STYLE ;

-EXL2K
-TYPE *** Appling styles for &OUTPUT
-GOTO END_STYLE

-AHTML
-TYPE *** Appling styles for &OUTPUT
-GOTO END_STYLE

-NO_STYLE
-TYPE *** I can't style for &OUTPUT.EVAL.
-GOTO TheEnd

-END_STYLE
-TYPE *** I applied the style for &OUTPUT.EVAL.
-GOTO TheEnd

-TheEnd
instead of all those IFs.

This message has been edited. Last edited by: Doug,
January 22, 2020, 11:09 AM
WFDevConsultant
quote:
Update: We did upgrade to 8206 but this issue still exists. Now XLSX format works but drilldown in xlsx is not working.

EXL2K - Drilldown works but not able to remove underline on the hyperlink.

XLSX - Removed the underline on the hyperlink but drilldown not works.

This message has been edited. Last edited by: WFDevConsultant,


8.2.06
Windows, All Formats
January 22, 2020, 11:21 AM
Hallway
Just to clarify, are you saying that you would like the hyperlink (drill down) in the .xls (EXL2K) file to still be a hyperlink, but just not LOOK like a hyperlink?


Hallway
WF(Prod):8202M1
WF(Test):8202M4
OS/Platform:Win 10
Outputs:All
January 22, 2020, 11:48 AM
WFDevConsultant
I want the drilldown but don't want the underline on the data.

Either xlsx or exl2k is okay but I want it to work.


8.2.06
Windows, All Formats