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     Report Heading Layout

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Report Heading Layout
 Login/Join
 
Member
posted
This is going to be hard to describe, but I'll do my best.

Is there any way to have two components on a report header line, with the first component be aligned to the left, and the second component be aligned to the right. Something like:

|             Title             |
|Date: 01/01/2007       By: User|
|                               |


Essentially, I want the "By: User" text to hug the right side of the page, while the "Date" hugs the left.

Thanks,

Chris Shaffer
 
Posts: 19 | Registered: October 24, 2006Report This Post
Member
posted Hide Post
And if it's not too much to ask, I'd like it to work in both HTML output and PDF.
 
Posts: 19 | Registered: October 24, 2006Report This Post
Virtuoso
posted Hide Post
Too much to ask, probably can't do. Have you tried using spot markers to place the text. Would have to ensure no squeezing I'd suppose.
  
"Date: 01/01/2007 <50> By: User"

or

"Date: 01/01/2007 <+50> By: User"



Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
Crude, but does the job, mostly. (In PDF, the right justified component is not exactly justified to the last report column).

TABLE FILE CAR
SUM
SALES
BY COUNTRY
BY CAR
BY MODEL

HEADING
"WebFOCUS Report"
"User: &IBIC_user <+0> Date: &YYMD"
" "

ON TABLE SET PAGE NOPAGE

ON TABLE PCHOLD FORMAT PDF

ON TABLE SET STYLESHEET *
TYPE=REPORT, FONT='Arial', SIZE=8, GRID=OFF, $

TYPE=HEADING, HEADALIGN=BODY, STYLE=BOLD, $
TYPE=HEADING, LINE=1, COLSPAN=99, JUSTIFY=CENTER, $
TYPE=HEADING, LINE=2, ITEM=2, COLSPAN=99, JUSTIFY=RIGHT, POSITION=P4, COLOR=BLUE, $
END


The HEADALIGN is valid in HTML but ignored in PDF.
The COLSPAN is valid in HTML but ignored in PDF.
The POSITION is ignored in HTML but valid in PDF.
The COLOR is to simply highlight the affected component.

This message has been edited. Last edited by: Francis Mariani,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Francis,

Thanks. It looks good in HTML, but the PDF isn't quite what I was looking for. Thanks for the info, though.
 
Posts: 19 | Registered: October 24, 2006Report This Post
Expert
posted Hide Post
In PDF, the centering and right justification of heading elements is based on the width of the paper, not the total width of the report columns.

I think.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
If you are using 7.x and developer studio you can right mouse on the heading and turn on the alignment grid. Then you can add columns/rows and justify how you want.

Hope this helps




Scott

 
Posts: 865 | Registered: May 24, 2004Report 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     Report Heading Layout

Copyright © 1996-2020 Information Builders