Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]make extra line under titles white instead of the color of the column titles?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]make extra line under titles white instead of the color of the column titles?
 Login/Join
 
Platinum Member
posted
Is it possible to make the line under the column titles white instead of the color of the title? It would provide better separation of the titles with the data. Please run the fex to understand what I am looking for.

-* File car_format.fex
APP PATH IBISAMP
DEFINE FILE CAR
DUMY1/A3=' ';
END
TABLE FILE CAR
PRINT
DUMY1 AS ''
BODYTYPE AS 'Body Type'
DEALER_COST AS 'Dealer Cost'
RETAIL_COST AS 'Retail Cost'
SALES AS '# Sold'
BY COUNTRY NOPRINT
BY CAR NOPRINT
BY MODEL NOPRINT
BY BODYTYPE NOPRINT

ON COUNTRY SUBHEAD
"<0>ON COUNTRY SUBFOOT
"Total " "
ON COUNTRY NOSPLIT

ON CAR SUBHEAD
"<2>
ON MODEL SUBHEAD
"<3>HEADING
"<0>Country"
"<2>Maker"
"<3>Model"
ON TABLE SET PAGE NOPAGE
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
$
TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=10, LEFTGAP=0.000000,$

TYPE=TITLE, BACKCOLOR=RGB(153 153 153), JUSTIFY=RIGHT, STYLE=-UNDERLINE+BOLD, $

TYPE=DATA, GRID=OFF, BACKCOLOR='NONE',$
TYPE=HEADING, BACKCOLOR=RGB(153 153 153),$

TYPE=SUBHEAD, BACKCOLOR='SILVER',$

TYPE=SUBFOOT, BY=1, LINE=1, OBJECT=TEXT, ITEM=1, BACKCOLOR=RGB(153 153 153), POSITION=0, $
TYPE=SUBFOOT, BY=1, LINE=1, OBJECT=FIELD, ITEM=1, BACKCOLOR=RGB(153 153 153), POSITION=0.6, $
TYPE=SUBFOOT, BY=1, LINE=1, OBJECT=FIELD, ITEM=2, BACKCOLOR=RGB(153 153 153), POSITION='N7', JUSTIFY=RIGHT, $
TYPE=SUBFOOT, BY=1, LINE=1, OBJECT=FIELD, ITEM=3, BACKCOLOR=RGB(153 153 153), POSITION='N8',JUSTIFY=RIGHT, $
TYPE=SUBFOOT, BY=1, LINE=1, OBJECT=FIELD, ITEM=4, BACKCOLOR=RGB(153 153 153), POSITION='N9', JUSTIFY=RIGHT, $

TYPE=REPORT, COLUMN=N9,WRAP=1.250000, JUSTIFY=RIGHT,$
TYPE=REPORT, COLUMN=N5,WRAP=1.250000, JUSTIFY=RIGHT,$
TYPE=REPORT,COLUMN=N6, WRAP=1.250000, JUSTIFY=RIGHT,$
TYPE=REPORT, COLUMN=N7,WRAP=1.250000, JUSTIFY=RIGHT,$
TYPE=REPORT,COLUMN=N8,WRAP=1.250000, JUSTIFY=RIGHT,$
TYPE=REPORT, COLUMN=N10,WRAP=1.250000, JUSTIFY=RIGHT,$
ENDSTYLE
END

This message has been edited. Last edited by: Kerry,
 
Posts: 118 | Location: Wisconsin | Registered: January 16, 2008Report This Post
Expert
posted Hide Post
I think that line under the column-title line isn't really a line - it is not addressable in a style-sheet declaration. It's there due to some WebFOCUS idiosyncrasy.

Here's one solution, though I'm not completely satisfied with the look. Perhaps one of the PDF gurus can help...

-* File car_format.fex
APP PATH IBISAMP
DEFINE FILE CAR
DUMY1/A3=' ';
END
TABLE FILE CAR
PRINT
DUMY1 AS ''
BODYTYPE AS 'Body Type'
DEALER_COST AS 'Dealer Cost'
RETAIL_COST AS 'Retail Cost'
SALES AS '# Sold'
BY COUNTRY NOPRINT
BY CAR NOPRINT
BY MODEL NOPRINT
BY BODYTYPE NOPRINT

ON COUNTRY SUBHEAD
"<0>
ON COUNTRY SUBFOOT
"Total
" "
ON COUNTRY NOSPLIT

ON CAR SUBHEAD
"<2>

ON MODEL SUBHEAD
"<3>
HEADING
"<0>Country"
"<2>Maker"
"<3>Model"
ON TABLE SET PAGE NOPAGE
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
$
TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=10, LEFTGAP=0.000000,$

TYPE=TITLE, BACKCOLOR=RGB(153 153 153), JUSTIFY=RIGHT, STYLE=-UNDERLINE+BOLD,
 BORDER-BOTTOM=5, BORDER-BOTTOM-COLOR=WHITE, BOTTOMGAP=0.1, $

TYPE=DATA, GRID=OFF, BACKCOLOR='NONE',$
TYPE=HEADING, BACKCOLOR=RGB(153 153 153),$

TYPE=SUBHEAD, BACKCOLOR='SILVER',$

TYPE=SUBFOOT, BY=1, LINE=1, OBJECT=TEXT, ITEM=1, BACKCOLOR=RGB(153 153 153), POSITION=0, $
TYPE=SUBFOOT, BY=1, LINE=1, OBJECT=FIELD, ITEM=1, BACKCOLOR=RGB(153 153 153), POSITION=0.6, $
TYPE=SUBFOOT, BY=1, LINE=1, OBJECT=FIELD, ITEM=2, BACKCOLOR=RGB(153 153 153), POSITION='N7', JUSTIFY=RIGHT, $
TYPE=SUBFOOT, BY=1, LINE=1, OBJECT=FIELD, ITEM=3, BACKCOLOR=RGB(153 153 153), POSITION='N8',JUSTIFY=RIGHT, $
TYPE=SUBFOOT, BY=1, LINE=1, OBJECT=FIELD, ITEM=4, BACKCOLOR=RGB(153 153 153), POSITION='N9', JUSTIFY=RIGHT, $

TYPE=REPORT, COLUMN=N9,WRAP=1.250000, JUSTIFY=RIGHT,$
TYPE=REPORT, COLUMN=N5,WRAP=1.250000, JUSTIFY=RIGHT,$
TYPE=REPORT,COLUMN=N6, WRAP=1.250000, JUSTIFY=RIGHT,$
TYPE=REPORT, COLUMN=N7,WRAP=1.250000, JUSTIFY=RIGHT,$
TYPE=REPORT,COLUMN=N8,WRAP=1.250000, JUSTIFY=RIGHT,$
TYPE=REPORT, COLUMN=N10,WRAP=1.250000, JUSTIFY=RIGHT,$
ENDSTYLE
END

The BORDER-BOTTOM=5, BORDER-BOTTOM-COLOR=WHITE, sets up the colour and height of the BORDER and BOTTOMGAP=0.1 adds space to the bottom of the column-titles or they would get cut off. As far as I can tell, adding BORDER-BOTTOM suppresses the unwanted extra line.

This message has been edited. Last edited by: Francis Mariani,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
BORDER-BOTTOM will work. Thanks.
 
Posts: 118 | Location: Wisconsin | Registered: January 16, 2008Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]make extra line under titles white instead of the color of the column titles?

Copyright © 1996-2020 Information Builders