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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
PDF formatting
 Login/Join
 
Silver Member
posted
Hi,
I’ve been trying to figure this one out for a while now and I really don’t know what to do about it… The heading and subheading for this report are narrower than the report. I tried “playing” around with the numbers, but I only got the table to shrink or expand, but I can’t get the header to grow to the width of the table. I’m new to WF and would appreciate any suggestions.
Thanks,
Luminita

Here is my code:

TABLE FILE CAR
PRINT
COUNTRY AS 'Country'
DEALER_COST AS 'Dealer'
LENGTH AS 'Length'
BODYTYPE AS 'Bodytype'
SEATS AS 'Seats'
RETAIL_COST AS 'Retail'
MODEL AS 'Model'
BY COUNTRY NOPRINT
ON TABLE SUBHEAD
"STRUCTURE"
HEADING
"STRUCTURE:<+0>as of :10/17/07"
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF

-* enter PDF style here
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='Letter',
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
FONT='TIMES NEW ROMAN',
SIZE=9,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
$
TYPE=DATA,
COLUMN=N1,
BORDER=LIGHT,
$
TYPE=DATA,
COLUMN=N2,
BORDER=LIGHT,
JUSTIFY=CENTER,
$
TYPE=DATA,
COLUMN=N3,
BORDER=LIGHT,
JUSTIFY=CENTER,
$
TYPE=DATA,
COLUMN=N4,
BORDER=LIGHT,
JUSTIFY=CENTER,
$
TYPE=DATA,
COLUMN=N5,
BORDER=LIGHT,
JUSTIFY=CENTER,
$
TYPE=DATA,
COLUMN=N6,
BORDER=LIGHT,
JUSTIFY=CENTER,
$
TYPE=DATA,
COLUMN=N7,
BORDER=LIGHT,
JUSTIFY=CENTER,
$
TYPE=DATA,
COLUMN=N8,
BORDER=LIGHT,
JUSTIFY=CENTER,
$
TYPE=DATA,
COLUMN=N9,
BORDER=LIGHT,
$
TYPE=TITLE,
COLUMN=N1,
BORDER=LIGHT,
$
TYPE=TITLE,
COLUMN=N2,
BORDER=LIGHT,
BACKCOLOR='YELLOW',
JUSTIFY=CENTER,
$
TYPE=TITLE,
COLUMN=N3,
BORDER=LIGHT,
BACKCOLOR='YELLOW',
JUSTIFY=CENTER,
$
TYPE=TITLE,
COLUMN=N4,
BORDER=LIGHT,
BACKCOLOR='YELLOW',
JUSTIFY=CENTER,
$
TYPE=TITLE,
COLUMN=N5,
BORDER=LIGHT,
BACKCOLOR='YELLOW',
JUSTIFY=CENTER,
$
TYPE=TITLE,
COLUMN=N6,
BORDER=LIGHT,
BACKCOLOR='YELLOW',
JUSTIFY=CENTER,
$
TYPE=TITLE,
COLUMN=N7,
BORDER=LIGHT,
BACKCOLOR='YELLOW',
JUSTIFY=CENTER,
$
TYPE=TITLE,
COLUMN=N8,
BORDER=LIGHT,
BACKCOLOR='YELLOW',
JUSTIFY=CENTER,
$
TYPE=TITLE,
COLUMN=N9,
BORDER=LIGHT,
$
TYPE=TABHEADING,
FONT='TIMES NEW ROMAN',
SIZE=10,
COLOR='WHITE',
BACKCOLOR='TEAL',
STYLE=BOLD,
$
TYPE=TABHEADING,
LINE=1,
JUSTIFY=CENTER,
$
TYPE=HEADING,
FONT='TIMES NEW ROMAN',
SIZE=9,
BORDER=LIGHT,
BACKCOLOR='YELLOW',
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=1,
JUSTIFY=LEFT,
WIDTH=1.000,
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=2,
JUSTIFY=RIGHT,
WIDTH=.500,
$
TYPE=HEADING,
LINE=1,
OBJECT=FIELD,
ITEM=1,
JUSTIFY=CENTER,
WIDTH=.500,
$
TYPE=REPORT,
COLUMN=N2,
SQUEEZE=0.863889,
$
TYPE=REPORT,
COLUMN=N3,
SQUEEZE=0.675000,
$
TYPE=REPORT,
COLUMN=N4,
SQUEEZE=0.819444,
$
TYPE=REPORT,
COLUMN=N5,
SQUEEZE=1.144444,
$
TYPE=REPORT,
COLUMN=N6,
SQUEEZE=1.000000,
$
TYPE=REPORT,
COLUMN=N7,
SQUEEZE=0.916667,
$
TYPE=REPORT,
COLUMN=N8,
SQUEEZE=0.850000,
$
ENDSTYLE
END
-RUN


7.6.6 on AIX platform
Output: variety (Excel, HTML and PDF)
 
Posts: 33 | Location: New Hampshire | Registered: October 17, 2007Report This Post
Expert
posted Hide Post
For PDF, if you change <+0> to <80> (or some other number), it will expand the heading to the right. This is positioning the next element on the heading in column 80, based on the heading or report font size and face.


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
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders