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.
The Heading function within the report I believe will always center according to the report. If you were looking at creating a heading for the webpage I would suggest using it within the -HTMLFORM section and coding it in HTML.
Something like..
-HTMLFORM BEGIN <CENTER> <h3>heading</h3> </CENTER> -HTMLFORM END -* Then displaying your table TABLE FILE CAR ... .. END
May I guess that you've articulated an issue with PDF reports that I also have a problem with?
If you have a PDF report that has very few, narrow columns, The HEADING CENTER centers the heading over the report columns, not the whole page. The PDF report, which is designed for printing, is aligned to the left of the physical page - there's no way to center the headings and the columns of the report with regards to the page size, other than using spot markers or positioning.
It would be nice to either center the body of the report automatically, or center the headings to the physical page.
WebFocus by default always centers the heading over the displayed columns, this is a built in feature. To force other behavior, for PDF you must use spot markers, or for HTML and Excel you must use colspan in the style sheet perhaps with the addition of dummy fields to pad the report width, or CSS.
TABLE FILE CAR PRINT RETAIL_COST DEALER_COST BY COUNTRY BY CAR HEADING "HEADING1" "HEADING2" "HEADING3" ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * UNITS=IN,PAGESIZE='LETTER', LEFTMARGIN=0.25,RIGHTMARGIN=0.25, TOPMARGIN=0.25,BOTTOMMARGIN=0.25,SQUEEZE=ON, ORIENTATION=LANDSCAPE,$ TYPE=REPORT,FONT='ARIAL',SIZE=8, COLOR='BLACK',BACKCOLOR='NONE',STYLE=NORMAL, RIGHTGAP=0.00,$ TYPE=HEADING,LINE=1,JUSTIFY=CENTER,WIDTH=10.50,$ TYPE=HEADING,LINE=2,JUSTIFY=CENTER,WIDTH= 8.00,$ TYPE=HEADING,LINE=3,JUSTIFY=CENTER,$ ENDSTYLE ENDThis message has been edited. Last edited by: Kerry,
Posts: 406 | Location: Canada | Registered: May 31, 2004