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] Can FOOTING BOTTOM be done from a stylesheet?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[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: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report 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 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report 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] Can FOOTING BOTTOM be done from a stylesheet?

Copyright © 1996-2020 Information Builders