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] Right Alignment in PDF Format
Go
New
Search
Notify
Tools
Reply
  
[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, 2009Reply With QuoteReport 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: 1960 | Location: Netherlands | Registered: September 25, 2007Reply With QuoteReport 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, 2003Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Right Alignment in PDF Format

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