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     Border around just the text in a header

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Border around just the text in a header
 Login/Join
 
Silver Member
posted
I am new to WebFocus, and am trying to emulate an existing report. I need to put a border around particular text in the header, which spans two lines. The border should go around the text (one border around both lines of text, rather than individual borders around each line of text), but not across the whole header, only around the text itself. Is this possible with WebFocus?
 
Posts: 44 | Location: St. Louis | Registered: September 17, 2004Report This Post
<Grzegorz>
posted
If your output is HTML you can use CSS to add borders.
An example CSS file:
/* ibi/apps/tests/styles.css: */

.border_top {
border-top : solid;
border-left : solid;
border-right : solid;
}
.border_mid {
border-left : solid;
border-right : solid;
}

.border_bot {
border-left : solid;
border-right : solid;
border-bottom: solid;
}

/*---------------------------------*/

And the example report:
SET CSSURL='/approot/tests/styles.css';
TABLE FILE CAR
ON TABLE SET PAGE-NUM OFF
ON TABLE SET HTMLCSS ON
HEADING
"This is line 1"
"This is line 2"
"This is line 3"
"This is line 4"
SUM SALES
BY COUNTRY
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF,$

TYPE=HEADING, LINE=2, CLASS='border_top',$
TYPE=HEADING, LINE=3, CLASS='border_bot',$

ENDSTYLE
END

Hope this helps
Grzegorz
 
Report This Post
<MHOLWAY>
posted
Great technique for HTML. Does anyone have any ideas about how one might accomplish this with PFD format?
 
Report This Post
<Grzegorz>
posted
When the output format is PDF the formating is not such straightforward like for HTML, but there are possible tricks with invisible sort columns, HEADALING options, etc.

For example:

DEFINE FILE CAR
ONE/I1 = 1;
TWO/I1 = 2;
THREE/I1 = 3;
END

TABLE FILE CAR
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT PDF
SUM SALES AS ''
BY ONE NOPRINT
BY TWO NOPRINT
BY THREE NOPRINT
BY COUNTRY AS ''
ON ONE SUBHEAD
"LINE 1"
ON TWO SUBHEAD
"BORDERED 1"
"BORDERED 2"
ON THREE SUBHEAD
"LINE 2"
""
" Country <+> Car "
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, STYLE=BOLD, SQUEEZE=ON, $
TYPE=SUBHEAD, BY=THREE, LINE=3, OBJECT=TEXT, ITEM=1, POSITION=P1,$
TYPE=SUBHEAD, BY=THREE, LINE=3, OBJECT=TEXT, ITEM=2, POSITION=P2,$
TYPE=SUBHEAD, BY=TWO, BORDER=MEDIUM,$
ENDSTYLE
END

Regards
Grzegorz
 
Report 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     Border around just the text in a header

Copyright © 1996-2020 Information Builders