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     Blank line after HEADING with HTMLCSS ON

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Blank line after HEADING with HTMLCSS ON
 Login/Join
 
Virtuoso
posted
I have been looking into utilizing more FOCUS STYLESHEET formatting commands such as BORDER to jazz up our reports. I found the following quirk and was wondering if there is a way to fix this or is this a bug waiting to be fixed.

Run the following code, once with the OLDWAY formatting and once with the NEWWAY formatting. The NEWWAY formatting adds a blank line after the HEADING text that is not there in the OLDWAY.

Any ideas on how to make these two consistent?

I ran this under WebFOCUS 7.1.

Thanks!


TABLE FILE CAR
HEADING
"THIS IS THE HEADING"
FOOTING
"this is the footing"
SUM RCOST DCOST SALES
BY COUNTRY
BY CAR
BY MODEL
ON TABLE SET PAGE NOLEAD
-GOTO OLDWAY
-*****************************************
-OLDWAY
ON TABLE SET HTMLCSS OFF
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF,$
ENDSTYLE
-GOTO ENDWAY
-*****************************************
-NEWWAY
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, BORDER=OFF,$
ENDSTYLE
-*****************************************
-ENDWAY
END
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Expert
posted Hide Post
I don't use HTMLCSS = ON because a lot of unpredictable things happen. If you want to use HTML CSS styling, create your own stylesheet and assign classes in the WebFOCUS stylesheet.
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
Francis,

Thanks for the suggestion. I was experimenting with that route as well. However, in order to get both HTML and PDF formatted the same, this eliminates the possiblity of manually doing the styling with CSS and the "CLASS = " STYLESHEET attribute.

Any other ideas?

Thanks!
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Expert
posted Hide Post
Mickey,

I use two different WebFOCUS stylesheets, one for HTML and Excel 2000 and the other for PDF. Unfortunately, like HEADALIGN=BODY or POSITION=xx, some styling only works for one, some only works for the other.

This is what I do:
ON TABLE SET STYLE *<br />-GOTO STYLE_&OUTPUT<br /><br />-*-- Include WebFOCUS report styling for HTML and Excel 2000<br />-STYLE_H<br />-STYLE_E<br />-INCLUDE BRSTYLE01<br /><br />-*-- Non standard styling<br />TYPE=SUBHEAD, HEADALIGN=BODY, STYLE=BOLD, $<br />TYPE=SUBHEAD, BY=FISCAL_SEMIYEAR, ITEM=2, COLSPAN=4, JUSTIFY=CENTER, COLOR=RGB(0 32 120), $<br />TYPE=SUBHEAD, BY=FISCAL_SEMIYEAR, ITEM=3, COLSPAN=4, JUSTIFY=CENTER, COLOR=RGB(0 32 120), $<br />-*<br />TYPE=DATA, WRAP=OFF, $<br /><br />-GOTO STYLE_END<br /><br />-*-- Include WebFOCUS report styling for PDF<br />-STYLE_P<br />-INCLUDE BRSTYLE02<br /><br />-*-- Non standard styling<br />TYPE=REPORT, LEFTGAP=0.03, RIGHTGAP=0.05, $<br />TYPE=SUBHEAD, BY=IG_INSR_TP_DS2, JUSTIFY=LEFT, COLOR=RGB(0 32 120), $<br />-*<br />TYPE=SUBHEAD, BY=FISCAL_SEMIYEAR, ITEM=2, POSITION=P4, JUSTIFY=CENTER, COLOR=RGB(0 32 120), $<br />TYPE=SUBHEAD, BY=FISCAL_SEMIYEAR, ITEM=3, POSITION=P8, JUSTIFY=CENTER, COLOR=RGB(0 32 120), $<br />-*<br />TYPE=DATA, COLUMN=CNT_BAL_AMT(*), BORDER-LEFT=0.01, BORDER-LEFT-COLOR=RGB(200 200 200), $<br /><br />-GOTO STYLE_END<br /><br />-STYLE_END<br />ENDSTYLE<br /><br />END<br />-RUN
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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     Blank line after HEADING with HTMLCSS ON

Copyright © 1996-2020 Information Builders