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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Centering Reports
 Login/Join
 
Platinum Member
posted
I'm not sure if I'm missing something but is there an easy way to center HTML and PDF reports? I mainly need my PDF outputs centered because depending on what paramters are passed the report can be the width of the page or about half of the width, centering it would seem the most logical instead of being left justified.


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
 
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006Report This Post
Platinum Member
posted Hide Post
In HTML you would put the report inside of a -HTMLFORM.
eg
TABLE FILE>.
... ON TABLE HOLD FORMAT HTMLTABLE AS ABC
..
END
-HTMLFORM BEGIN

!TAB.FIL.ABC


-HTMLFORM END


Release 7.6.9
Windows
HTML
 
Posts: 226 | Registered: June 08, 2003Report This Post
Platinum Member
posted Hide Post
Yeah that's what I was figuring, what about PDF?


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
 
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006Report This Post
Guru
posted Hide Post
I have not seen this easily done in PDF. I believe how it was done was by holding the report as DOC file, then creating a mfd that containned only one field and then displaying that single field in a PDF and centering it across the page. I believe a lot of the formatting was lost because of holding as a DOC file.

I was able to get my users to not want this by showing them a PDF report that was streached across the whole page.
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Platinum Member
posted Hide Post
Ah ... well that's really not what I wanted to hear. Thanks anyway reFOCUSing.


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
 
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006Report This Post
Virtuoso
posted Hide Post
You can try playing with the magins....till you get it where you want.

This is What IBI says on the subject

Unfortunately, this cannot be done in Release 5.3.x of Developer Studio.
In Release 7.1, we have a new tool called the PDF Layout Painter.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Platinum Member
posted Hide Post
That's weird because I have 7.1 and there is no such tool, maybe they're refering to the new 7.3 coming out.

The only problem with setting margins is that depending on the parameters the user selects the margin can be anywhere from an inch to three inches (in order for it to look centered).


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
 
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006Report This Post
Guru
posted Hide Post
.eric,
Here is what I did to get the users to not want a centered report. Maybe it will work for you.

TABLE FILE CAR
SUM
     DEALER_COST
     RETAIL_COST
BY
     COUNTRY
BY
     CAR
BY
     BODYTYPE
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN,PAGESIZE='Letter',LEFTMARGIN=0.25,RIGHTMARGIN=0.25,TOPMARGIN=0.25,BOTTOMMARGIN=0.00,SQUEEZE=ON,ORIENTATION=LANDSCAPE,$

TYPE=REPORT,FONT='ARIAL',SIZE=8,COLOR='BLACK',BACKCOLOR='NONE',STYLE=NORMAL,RIGHTGAP=0.00,LEFTGAP=0.00,$
TYPE=REPORT,COLUMN=P1, SQUEEZE=2.00,$
TYPE=REPORT,COLUMN=P2, SQUEEZE=2.00,$
TYPE=REPORT,COLUMN=P3, SQUEEZE=2.00,$
TYPE=REPORT,COLUMN=P4, SQUEEZE=3.00,$
TYPE=REPORT,COLUMN=P5, SQUEEZE=1.00,$
ENDSTYLE
END
-RUN
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Platinum Member
posted Hide Post
So you're basically just setting all your column widths to total the width of the page right?


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
 
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006Report This Post
Guru
posted Hide Post
Yes that is what I did.
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders