As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I want underline a word in a heading. This works fine until I had a background color to the entire heading. Then the line disappears. It would seem that the background color moves infront of the underline. I even tried to draw a line and place it in the heading where I wanted it, but it also is behind the background color. Is there a way to force the line to the front of the color. My output format is PDF.
This occurred on 7.1.6 and 7.6.10 (current version)This message has been edited. Last edited by: Kerry,
It looks like you need to be very specific how you code the stylesheet.
I tried it in the gui, and saw what you where seeing.
Then I stepped back, and started coding explicitly, it works.
This seems to work in 7611. Does this work for you?
TABLE FILE CAR SUM SALES NOPRINT HEADING "SALES<+0 " "" " ON TABLE SET PAGE OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * UNITS=IN,SQUEEZE=ON,ORIENTATION=PORTRAIT,$ TYPE=HEADING,LINE=1, -*OBJECT=TEXT,ITEM=1, BACKCOLOR='YELLOW',STYLE=UNDERLINE,$ TYPE=HEADING,LINE=2,BACKCOLOR=RGB(204 255 255),$ ENDSTYLE END
WebFocus 7x, 8x, Win / Linux, any output format
Posts: 70 | Location: reading, pa | Registered: April 07, 2007
-* File fp_underline.fex
TABLE FILE CAR
SUM
'CAR.BODY.SALES' NOPRINT
HEADING
"SALES"
"<SALES"
" "
ON TABLE SET PAGE OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=1,
BACKCOLOR='YELLOW',
STYLE=UNDERLINE,
$
TYPE=HEADING,
LINE=2,
BACKCOLOR='TEAL',
$
ENDSTYLE
END
hope this is better.This message has been edited. Last edited by: Kerry,
WebFocus 7x, 8x, Win / Linux, any output format
Posts: 70 | Location: reading, pa | Registered: April 07, 2007
Stange as it may seem: It works fine for me. I see the heading line 1 "SALES" under lined with a yellow background and the sum total "208420" with a teal background.
Please update your signature and let us know what your environment is and version of PDF, etc.
Doug
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
I used that same code and it didn't work for me. This is the same way I am doing it in my report headers. Even with background on line 2 and no back ground on line 1 the underline does not show up.
When I remove all traces of background from the header then underline will work.
The modified code below still would not work for me.
TABLE FILE CAR SUM 'CAR.BODY.SALES' NOPRINT HEADING "SALES" "" " ON TABLE SET PAGE OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * UNITS=IN, SQUEEZE=ON, ORIENTATION=PORTRAIT, $ TYPE=REPORT, GRID=OFF, FONT='TIMES NEW ROMAN', SIZE=10, $ TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=1, STYLE=BOLD+UNDERLINE, -* BACKCOLOR='YELLOW', $ TYPE=HEADING, LINE=2, BACKCOLOR='TEAL', $ ENDSTYLE END
I am currently on version 7.6.10, Windows 7, and IE8 in production.
Two weeks ago I was on 7.1.6, Windows XP, and IE 7. The above code still would not show a drawn line or and underline in the heading.
A screen shot of my results can be seen at the below web address
Interesting. When I saved it to my desktop and then opened the pdf file it worked. The underline was there. It appears to disappear only when viewing the pdf in browser.