Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     How to add a shadowbox to a pdf TABFOOTING
Go
New
Search
Notify
Tools
Reply
  
How to add a shadowbox to a pdf TABFOOTING
 Login/Join
 
Platinum Member
posted
The end user is being very adamant that they want their summary data to have a shadow box (a black border on the top and right side of the data). The report must be delivered iin pdf, and the table portion of the report normally has 10-20 pages. This summary data, normally 4-6 lines is to appear centered on the last page of the detail data. Placing the summary data on it's own pag eis not acceptable.

Any ideas?


Robert F. Bowley Jr.
Owner
TaRa Solutions, LLC

In WebFOCUS since 2001
 
Posts: 132 | Location: Gadsden, Al | Registered: July 22, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Will you please update your signature with what version of WebFocus you are using. It will make a diffence in your options for this request.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Reply With QuoteReport This Post
Platinum Member
posted Hide Post
My apologies. This particular client is running 7.61


Robert F. Bowley Jr.
Owner
TaRa Solutions, LLC

In WebFOCUS since 2001
 
Posts: 132 | Location: Gadsden, Al | Registered: July 22, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Is the amount of detail data on the last page always the same? If not, what if there isn't room for the summary data?

This can all be done with the compound report tool (PDF Layout Painter, I think it's called now) or just in the code by controlling the overflow and/or use of BREAK/NOBREAK syntax. The shadow box can also be accomplished a couple of different ways, using inclusion and proper placement of images and/or lines.

Without any more detail or examples, it's harder to get much more specific other than to say it all sounds do-able.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Reply With QuoteReport This Post
Virtuoso
posted Hide Post
How about placing the summary report on the first page, would that be acceptable?

If you put it on the last page and it is not allowed to place it on a separate page, what happens if the last page has not enough place to hold the summary.

We have a saying here in the Netherlands that is:
"One lunatic can ask more than 10 very wise man can answer."

Sometimes the end users act like that.

Who said sometimes.....




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Reply With QuoteReport This Post
Expert
posted Hide Post
Robert,

Jodye Yates came up with a workable styling for drawing lines in PDF. You can find it in this post.

He also wrote an article for the Tips and techniques pages that calculates the length of the line depending upon data to be included within the report, here. It might serve to spark a few ideas of your own on how to calculate the positioning that you require?

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5637 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Virtuoso
posted Hide Post
rfbowley,

The following does not seem to be documented anywhere but it works with WF713. This may help you with what you are trying to do.

Use the following code to see how to control BOXes.

TABLE FILE CAR
SUM RCOST DCOST
BY COUNTRY
BY CAR
ON TABLE SET PAGE NOPAGE
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLESHEET *
TYPE=REPORT, COLUMN=COUNTRY, WRAP=1.00,$
TYPE=REPORT, COLUMN=CAR , WRAP=1.00,$
TYPE=REPORT, COLUMN=RCOST , WRAP=1.25,$
TYPE=REPORT, COLUMN=DCOST , WRAP=1.25,$
TYPE=REPORT, NAME='BOX001', OBJECT=BOX, POSITION=(0.200 0.400),
DIMENSION=(8.10 5.00),
BORDER-COLOR=RED, BORDER=HEAVY,
BACKCOLOR=RGB(212 212 212),$
TYPE=REPORT, NAME='BOX002', OBJECT=BOX, POSITION=(1.40 0.425),
DIMENSION=(1.20 4.75),
BORDER-COLOR=BLUE, BORDER=HEAVY,
BACKCOLOR=WHITE,$
TYPE=REPORT, NAME='BOX003', OBJECT=BOX, POSITION=(2.70 0.425),
DIMENSION=(1.40 4.75),
BORDER-COLOR=GREEN, BORDER=HEAVY,
BACKCOLOR=YELLOW,$
ENDSTYLE
END


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Reply With QuoteReport This Post
Virtuoso
posted Hide Post
The following also seem to work:

OBJECT= LINE and OBJECT=IMAGE


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     How to add a shadowbox to a pdf TABFOOTING

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.