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     Wrap FOOTING *or* bottom-align wrapped SUBFOOT

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Wrap FOOTING *or* bottom-align wrapped SUBFOOT
 Login/Join
 
Silver Member
posted
As usual I'm trying to accomplish something that seems like it should be really simple but isn't coming together!

I have a report with a footer (currently FOOTING) which is long and needs to wrap. The footer is dynamic so cannot be split into multiple lines manually. The report outputs in PDF and Excel 2K Formula.

In XLS the footer wraps within the report's width without any problem. In PDF I simply cannot get the footer to wrap. I read in this thread that a FOOTING cannot be wrapped. I would be fine to use SUBFOOT but I also need the footer to be bottom-aligned in the report. Using FOOTING I can use FOOTING BOTTOM and it is correctly aligned. However, ON TABLE SUBFOOT BOTTOM generates a syntax error.

Can anyone please suggest any way to either wrap a dynamic length FOOTING or bottom-align a SUBFOOT (in PDF)? Any help very much appreciated.


WebFocus 7.7
Windows Server 2008 R2
HTML Reporting
 
Posts: 32 | Registered: September 19, 2011Report This Post
Virtuoso
posted Hide Post
Hi Tom,

I did this for Marilyn with SUBHEAD. Changing to HEADING works:
  
-* File Marilyn01.fex
SET PRINTPLUS=ON
DEFINE FILE CAR
NEW_CAR/A50V WITH CAR = '12345678901234567890123456789012345678901234567890';
HEADTEXT/A15 WITH CAR = '123465789012345';
CURR_DATE/MDYY WITH CAR = &MDYY;
END
TABLE FILE CAR
SUM
CNT.MODEL
BY COUNTRY NOPRINT PAGE-BREAK
BY CAR


HEADING
"<NEW_CAR><+0><HEADTEXT><+0><COUNTRY><+0>DATE CURR: <CURR_DATE>"
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET BYDISPLAY ON
ON TABLE SET LINES 61
ON TABLE SET NODATA ''
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     LEFTMARGIN=0.250000,
     RIGHTMARGIN=0.250000,
     TOPMARGIN=0.500000,
     BOTTOMMARGIN=0.500000,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
     FONT='ARIAL',
     SIZE=10,
     COLOR='BLACK',
     STYLE=NORMAL,
$
TYPE=DATA,
     FONT='ARIAL',
     SIZE=10,
     COLOR='BLACK',
     STYLE=NORMAL,
$
TYPE=TITLE,
     BORDER-TOP=LIGHT,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
     FONT='ARIAL',
     SIZE=10,
     BACKCOLOR=RGB(255 255 153),
     STYLE=BOLD,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     HEADALIGN=INTERNAL,
     BORDER-TOP=LIGHT,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
     SIZE=10,
     STYLE=BOLD,
     JUSTIFY=LEFT,
$
TYPE=HEADING,
     STYLE=BOLD,
     BORDER-TOP=LIGHT,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
$

TYPE=HEADING,
     LINE=1,
     OBJECT=FIELD,
     ITEM=1,
     WRAP=2,
$
TYPE=HEADING,
     LINE=1,
     OBJECT=FIELD,
     ITEM=2,
     JUSTIFY=LEFT,
     POSITION=+.0125,
$
TYPE=HEADING,
     LINE=1,
     OBJECT=FIELD,
     ITEM=3,
     JUSTIFY=RIGHT,
     POSITION=+.125,
$
TYPE=HEADING,
     LINE=1,
     OBJECT=FIELD,
     ITEM=4,
     JUSTIFY=RIGHT,
     POSITION=+.0125,
$
TYPE=HEADING,
     LINE=1,
     OBJECT=TEXT,
     ITEM=2,
     STYLE=NORMAL,
     JUSTIFY=LEFT,
     POSITION=+.275,
$
TYPE=heading,
     LINE=1,
     OBJECT=TEXT,
     ITEM=4,
     STYLE=NORMAL,
     JUSTIFY=RIGHT,
     POSITION=+.125,
$
ENDSTYLE
END

See if this works for you in FOOTING.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Silver Member
posted Hide Post
Thanks for your input Daniel - I will give it a go - but doesn't this approach require that I know the text (or at least its length / required number of lines) in advance? I don't know the content of the footer at design-time.


WebFocus 7.7
Windows Server 2008 R2
HTML Reporting
 
Posts: 32 | Registered: September 19, 2011Report This Post
Silver Member
posted Hide Post
I was just notified I need to bump this thread to stop it being closed. I'm still working on the problem


WebFocus 7.7
Windows Server 2008 R2
HTML Reporting
 
Posts: 32 | Registered: September 19, 2011Report 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     Wrap FOOTING *or* bottom-align wrapped SUBFOOT

Copyright © 1996-2020 Information Builders