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] Right Alignment in PDF Format

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Right Alignment in PDF Format
 Login/Join
 
Member
posted
Hi
I have a TABFOOTING in a report. What I am doing is displaying company no (left aligned) and the sum(right aligned) in the subfooting.
The problem that I am facing is that the first entry for the sum is a little misaligned (ie more towards right then the rest of the entries). This is happening only in PDF format.
Here's the part of the code I am using
 
-REPEAT FOT &CNTFOT.EVAL TIMES
-SET &CNT = &CNT + 1;
TYPE=TABFOOTING,LINE=&CNT,ITEM=1,COLSPAN=5, POSITION=P1, JUSTIFY=LEFT, STYLE=BOLD,$
TYPE=TABFOOTING,LINE=&CNT,ITEM=2,POSITION=P6,,JUSTIFY=RIGHT STYLE=BOLD,$
-FOT


Thanks
Sid

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


_________________________________________________________________

WF Server: 7.1.4 on Unix and Win2K3 server, ReportCaster, Self-Service, MRE, Java
Data: Teradata, Oracle, SQL Server Output: HTML,PDF,EXL2K, WP
WF Client: 7.1.4 on Windows 2K3 w/Tomcat
 
Posts: 27 | Registered: August 12, 2009Report This Post
Virtuoso
posted Hide Post
I tried the following, but this aligned just fine.
-SET &CNTFOT = 5;
-SET &CNT = 1;

APP APPENDPATH IBISAMP

TABLE FILE CAR
PRINT DCOST COUNTRY
      CAR MODEL SEATS RCOST SALES

ON TABLE SUBTOTAL

ON TABLE SUBFOOT
"Subfoot with a number of lines"
"<ST.DCOST<ST.RCOST"
"<ST.DCOST<ST.RCOST"
"<ST.DCOST<ST.RCOST"
"<ST.DCOST<ST.RCOST"
"<ST.DCOST<ST.RCOST"

ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN, SQUEEZE=ON, GRID=OFF, $
TYPE=REPORT, FONT='ARIAL', SIZE=8, STYLE=NORMAL, $
TYPE=TABFOOTING, HEADALIGN=BODY, $
-REPEAT FOT &CNTFOT.EVAL TIMES
-SET &CNT = &CNT + 1;
TYPE=TABFOOTING,LINE=&CNT,ITEM=1, OBJECT=FIELD, COLSPAN=5, POSITION=P1, JUSTIFY=LEFT , STYLE=BOLD,$
TYPE=TABFOOTING,LINE=&CNT,ITEM=2, OBJECT=FIELD,            POSITION=P6, JUSTIFY=RIGHT, STYLE=BOLD,$
-FOT
ENDSTYLE
END

If you run this code, does it also align correctly?
If yes, then what is your exact code that causes the problem?
What WebFOCUS 76 version are you using?


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Virtuoso
posted Hide Post
SQUEEZE=ON is probably what will fix the issue. If SQUEEZE is not set to ON then FOOTINGs span the whole width of the page by default.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report 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] Right Alignment in PDF Format

Copyright © 1996-2020 Information Builders