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     [CLOSED] Can FOOTING BOTTOM be done from a stylesheet?
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Can FOOTING BOTTOM be done from a stylesheet?
 Login/Join
 
Virtuoso
posted
One of our report variations (the PDF type) requires that the footing is specified using FOOTING BOTTOM CENTER. Other reports don't.
This poses a problem for me, as we have standardized our reports so far now that adding a footing is done by merely including a file and setting a few variables - but in the case of PDF's I now suddenly need to use a different "command" in my include file than I use for the other reports, namely FOOTING BOTTOM CENTER instead of just FOOTING.

We also include different stylesheets, depending on the report format (HTML, EXL2K, PDF), so the centering is taken care of easily. But how do I go about that BOTTOM attribute? Can that be done in the stylesheet or will I need to perform more trickery with variables?

What I have in my reports boils down to:
-INCLUDE footing.fmt


Which contains something like:
FOOTING
"Bla bla bla bla bla &BLA"


I already have two different footing includes, I'd prefer not to explode those to different ones for each output format (2 footings * 3 formats = 6 files instead of my current 2).

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


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1643 | Location: Enschede, Netherlands | Registered: August 12, 2010Reply With QuoteReport This Post
Expert
posted Hide Post
The reason for different styling is the requirements of the output application, namely ADOBE.

That is why we use Dialogue Manager variables.

  
-SET &FOOT_PDF = IF &FMT EQ 'PDF' THEN 'FOOTING BOTTOM CENTER' ELSE 'FOOTING';
&FOOT_PDF
-INCLUDE footing.fex


May have to have a section in the footing.fex to branch based on output, as, we always do.

-GOTO &FMT
-PDF
style code for PDF
...
...
-GOTO END_FOOT

-EXL2K
...
...
...
-GOTO END_FOOT

-HTML
....
....
....
-END_FOOT


Shouldn't take too much to incorporate...

Tom

This message has been edited. Last edited by: Tom Flynn,


Tom Flynn
WebFOCUS 7.7.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1946 | Location: Parker, CO | Registered: January 31, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Can FOOTING BOTTOM be done from a stylesheet?

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