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] PDF styling How to control paneling and subtotals/subfootings

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] PDF styling How to control paneling and subtotals/subfootings
 Login/Join
 
Gold member
posted
We have several reports where the PDF output panels. I have tried various combinations of HEADPANEL, BYPANEL, ALIGN-BORDERS and few other off the wall ideas. HEADPANEL=ON and ALIGN-BORDERS=BODY will get the backcolor to stop at the edge of the report but then you get miscelaneous totals out in netherland. I have recreated the problem usingg GGsales code below. using a larger paper size is not posible since the actual reports already use size 'C'.

As always any help is appreciated.

Thank you

   
DEFINE FILE GGSALES
SHOWCATPROD/A30 = CATEGORY || (' / ' | PRODUCT);
LSTATE/A60=ST ||' DFTUHWERQHEBVGISDFJBVGSDFJ;AGSDJKGBDFKALGJBVDFK';
END
TABLE FILE GGSALES
SUM
     GGSALES.SALES01.DOLLARS/I8M AS ''
     GGSALES.SALES01.DOLLARS
     GGSALES.SALES01.BUDUNITS
     GGSALES.SALES01.BUDDOLLARS
BY  GGSALES.SALES01.REGION
BY  GGSALES.SALES01.LSTATE
BY  GGSALES.SALES01.CITY
ACROSS GGSALES.SALES01.SHOWCATPROD AS 'Product Sales'

-*ON GGSALES.SALES01.CITY SUBTOTAL AS '*TOTAL'
ON GGSALES.SALES01.CITY SUBFOOT
" "
"Subfoot <+0>Region <REGION  <CITY <ST.GGSALES.SALES01.DOLLARS>  <ST.GGSALES.SALES01.BUDUNITS <ST.BUDDOLLARS> "
" "
ON TABLE SUBHEAD
"Report Heading"
" "
"I'm trying to duplicate problem  "

FOOTING
" "
"Page Footing<+0>Page <TABPAGENO "

WHERE CATEGORY EQ 'Coffee';

ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     LEFTMARGIN=0.750000,
     RIGHTMARGIN=0.500000,
     TOPMARGIN=0.055556,
     BOTTOMMARGIN=0.055556,
     SQUEEZE=ON,
$
TYPE=REPORT,
	HEADALIGN=INTERNAL,
     ALIGN-BORDERS=OFF,
     BORDER-TOP=ON,
     BORDER-BOTTOM=ON,
     BORDER-LEFT=ON,
     BORDER-RIGHT=ON,
     FONT='ARIAL',
     SIZE=9,
$
TYPE=TITLE,
     STYLE=BOLD,
$
TYPE=TABHEADING,
     SIZE=12,
     STYLE=BOLD,
$
TYPE=TABHEADING,
     LINE=3,
     JUSTIFY=CENTER,
$
TYPE=TABFOOTING,
     SIZE=12,
     STYLE=BOLD,
$
TYPE=HEADING,
     SIZE=12,
     STYLE=BOLD,
$
TYPE=HEADING,
     IMAGE=smplogo1.gif,
     POSITION=(+4.555556 +0.027778),
$
TYPE=FOOTING,
     SIZE=12,
     STYLE=BOLD,
$
TYPE=FOOTING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=2,
     POSITION=6.291667,
$
TYPE=SUBHEAD,
     SIZE=10,
     STYLE=BOLD,
$
TYPE=SUBHEAD,
     LINE=2,
     OBJECT=TEXT,
     ITEM=3,
     POSITION=2.500000,
$
TYPE=SUBFOOT,
     BORDER-TOP=ON,
     BORDER-BOTTOM=ON,
     BORDER-LEFT=ON,
     BORDER-RIGHT=ON,
     HEADALIGN=INTERNAL,
	 SIZE=10,
     STYLE=BOLD,
	 BACKCOLOR=RGB(110 110 110),
$
TYPE=SUBTOTAL,
     BACKCOLOR=RGB(210 210 210),
$
TYPE=ACROSSVALUE,
     SIZE=9,
     WRAP=ON,
$
TYPE=ACROSSTITLE,
     STYLE=BOLD,
$
TYPE=GRANDTOTAL,
     BACKCOLOR=RGB(210 210 210),
     STYLE=BOLD,
$
ENDSTYLE
END

 

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


Duane

WebFOCUS 8.0.7
DS 8.0.7 AS 8.0.7
Windows
Output: Excel, HTML, PDF, AHTML,Mobile
In Focus 1982
 
Posts: 83 | Location: Princeton NJ | Registered: October 26, 2007Report This Post
Gold member
posted Hide Post
You may not want to do this; however, I made the following changes and the report is starting to look better:

 
     LEFTMARGIN=0.250000,
     RIGHTMARGIN=0.250000,
     TOPMARGIN=0.055556,
     BOTTOMMARGIN=0.055556,
     SQUEEZE=ON,
     ORIENTATION=LANDSCAPE,
     PAGESIZE='Legal',
 

Changed the RIGHT/LEFT margins to .25 from .75
Added paper orientation and size.
Also changed the Font size from 9 to 8.

You may just need to tweak the report/font size.

Shorten some columns (WRAP or SQUEEZE) etc.

P.S. Changed the Paper size to
PAGESIZE='11 x 17',
where now all the columns are on 1 page.

This message has been edited. Last edited by: Mary Watermann,


WF 7.6.10, Windows, PDF, Excel
 
Posts: 75 | Location: Dallas, TX | Registered: February 12, 2004Report This Post
Gold member
posted Hide Post
Thanks for the response Mary and yes I know that by changing to a larger papersize we can get the entire report on one page but we have several reports that still panel on SIZE'C' paper. I was hoping for a way to stop the shading at the end of the report and not continue to the edge of the second page or panel.


Duane

WebFOCUS 8.0.7
DS 8.0.7 AS 8.0.7
Windows
Output: Excel, HTML, PDF, AHTML,Mobile
In Focus 1982
 
Posts: 83 | Location: Princeton NJ | Registered: October 26, 2007Report This Post
Gold member
posted Hide Post
I think that is the nature of the beast ... I have run into that behavior of PDF also.


WF 7.6.10, Windows, PDF, Excel
 
Posts: 75 | Location: Dallas, TX | Registered: February 12, 2004Report 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] PDF styling How to control paneling and subtotals/subfootings

Copyright © 1996-2020 Information Builders