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     [CLOSED] Heading Font with Compound HTML & HFREEZE

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Heading Font with Compound HTML & HFREEZE
 Login/Join
 
Member
posted
I have a compound HTML report I am trying to create. I first started using HTMLTABLE's, but HFREEZE is not supported with it. What I did was just make both HTML's instead of HTMLTABLE's. (Not sure if this is the best way?) It shows both of the reports, but does not respect the font settings I have for the heading on the top report. No matter what I put in the TYPE=HEADING, it seems to come out at a size 8 bold font. Below is an example with the CAR file. Any ideas on how to get the HEADING font to be bigger? Thanks

DEFINE FILE CAR
MY_HEADING/A20='TEST CAR HFREEZE';
END
TABLE FILE CAR
PRINT
'CAR.COMP.CAR'
'CAR.CARREC.MODEL'
'CAR.BODY.BODYTYPE'
'CAR.BODY.DEALER_COST'
'CAR.BODY.RETAIL_COST'
HEADING
"FOOTING
""
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=8,
HFREEZE=ON,
SCROLLHEIGHT=2.000000,
$
TYPE=TITLE,
STYLE=BOLD,
$
TYPE=TABHEADING,
SIZE=10,
STYLE=BOLD,
$
TYPE=TABFOOTING,
STYLE=BOLD,
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=1,
SIZE=16,
STYLE=BOLD,
$
TYPE=HEADING,
LINE=1,
OBJECT=FIELD,
ITEM=1,
SIZE=16,
STYLE=BOLD,
$
TYPE=HEADING,
LINE=2,
OBJECT=TEXT,
ITEM=1,
SIZE=24,
STYLE=BOLD,
$
TYPE=FOOTING,
STYLE=BOLD,
$
TYPE=SUBHEAD,
SIZE=10,
STYLE=BOLD,
$
TYPE=SUBFOOT,
STYLE=BOLD,
$
TYPE=ACROSSVALUE,
SIZE=8,
$
TYPE=ACROSSTITLE,
STYLE=BOLD,
$
TYPE=GRANDTOTAL,
STYLE=BOLD,
$
ENDSTYLE
END
DEFINE FILE CAR
TEXT1/A5='MTD';
TEXT2/A5='YTD';
END
TABLE FILE CAR
SUM
TEXT1 AS ' '
TEXT2 AS ''
'CAR.COMP.CAR' NOPRINT
HEADING
""
FOOTING
""
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=8,
$
TYPE=TITLE,
STYLE=BOLD,
$
TYPE=TABHEADING,
SIZE=10,
STYLE=BOLD,
$
TYPE=TABFOOTING,
STYLE=BOLD,
$
TYPE=HEADING,
SIZE=10,
STYLE=BOLD,
$
TYPE=FOOTING,
STYLE=BOLD,
$
TYPE=SUBHEAD,
SIZE=10,
STYLE=BOLD,
$
TYPE=SUBFOOT,
STYLE=BOLD,
$
TYPE=ACROSSVALUE,
SIZE=8,
$
TYPE=ACROSSTITLE,
STYLE=BOLD,
$
TYPE=GRANDTOTAL,
STYLE=BOLD,
$
ENDSTYLE
END

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


WebFocus 8.2.01
Windows 2016
XLSX, HTML, PDF
 
Posts: 9 | Registered: October 12, 2011Report This Post
Expert
posted Hide Post
assuming you mean
HEADING
"<MY_HEADING "

then ...
TYPE=REPORT,GRID=OFF,FONT='ARIAL',SIZE=8,HFREEZE=ON,SCROLLHEIGHT=2.000000,$
TYPE=TITLE,STYLE=BOLD,$
TYPE=HEADING,LINE=1,OBJECT=FIELD,ITEM=1,COLOR=RED, SIZE=18,STYLE=BOLD,$
TYPE=GRANDTOTAL,STYLE=BOLD,$
ENDSTYLE
END

you've got way too many TYPE=HEADING in your code. simplify.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Member
posted Hide Post
Your assumption is correct about the heading.

I tried what you suggested and get the red color, but the font size does not change when I change the FONT= Seems odd to me...any ideas?


WebFocus 8.2.01
Windows 2016
XLSX, HTML, PDF
 
Posts: 9 | Registered: October 12, 2011Report This Post
Expert
posted Hide Post
yes it does.
read your code more carefully, and clean out all the extra TYPE=HEADING in your style sheet.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report 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     [CLOSED] Heading Font with Compound HTML & HFREEZE

Copyright © 1996-2020 Information Builders