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     [CASE-OPENED] wf8 Centering Multiple Line Heading accross multiple columns

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE-OPENED] wf8 Centering Multiple Line Heading accross multiple columns
 Login/Join
 
Guru
posted
I am trying to center my heading within a PDF. The widest heading is centered, but the other lines have the heading right justified, aligned with the widest heading. Is the and additional command to center within the colspan?

TYPE=HEADING, HEADALIGN=BODY,$
TYPE=HEADING, OBJECT=FIELD, ITEM=1, COLSPAN=2, JUSTIFY=LEFT, STYLE=NORMAL, SIZE=6,$
TYPE=HEADING, OBJECT=FIELD, ITEM=2, COLSPAN=10, JUSTIFY=CENTER, BORDER-RIGHT=LIGHT,$
TYPE=HEADING, OBJECT=FIELD, ITEM=3, COLSPAN=4, JUSTIFY=LEFT, STYLE=NORMAL, SIZE=10,$

I originally was using the below code.

TYPE=HEADING, LINE=1,OBJECT=FIELD, ITEM=1, COLSPAN=2, JUSTIFY=LEFT, STYLE=NORMAL, SIZE=6,$
TYPE=HEADING, LINE=1,OBJECT=FIELD, ITEM=2, COLSPAN=10, JUSTIFY=CENTER, BORDER-RIGHT=LIGHT,$
TYPE=HEADING, LINE=1,OBJECT=FIELD, ITEM=3, COLSPAN=4, JUSTIFY=LEFT, STYLE=NORMAL, SIZE=10,$

TYPE=HEADING, LINE=2,OBJECT=FIELD, ITEM=1, COLSPAN=2, JUSTIFY=LEFT, STYLE=NORMAL, SIZE=6,$
TYPE=HEADING, LINE=2,OBJECT=FIELD, ITEM=2, COLSPAN=10, JUSTIFY=CENTER, BORDER-RIGHT=LIGHT,$
TYPE=HEADING, LINE=2,OBJECT=FIELD, ITEM=3, COLSPAN=4, JUSTIFY=LEFT, STYLE=NORMAL, SIZE=10,$

TYPE=HEADING, LINE=3,OBJECT=FIELD, ITEM=1, COLSPAN=2, JUSTIFY=LEFT, STYLE=NORMAL, SIZE=6,$
TYPE=HEADING, LINE=3,OBJECT=FIELD, ITEM=2, COLSPAN=10, JUSTIFY=CENTER, BORDER-RIGHT=LIGHT,$
TYPE=HEADING, LINE=3,OBJECT=FIELD, ITEM=3, COLSPAN=4, JUSTIFY=LEFT, STYLE=NORMAL, SIZE=10,$

This message has been edited. Last edited by: <Kathryn Henning>,


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
 
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011Report This Post
Expert
posted Hide Post
Jay, please provide the lines of code for the heading... this might help determine the issue.


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
Guru
posted Hide Post
 
HEADING
"<IB_HEADING1_ITEM1<IB_HEADING1_ITEM2<IB_STORE_NUM"
"<IB_BLANK<IB_HEADING2_ITEM2<IB_STORE_NAME"
"<IB_BLANK<IB_MSHDATE_MTRDYY<IB_MSHDATE_MTRDYY "
 


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
 
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011Report This Post
Expert
posted Hide Post
Sample program. I see the problem but don't know why it's happening. Behaves the same way in v7.7.05.

SET PAGE=NOPAGE

DEFINE FILE EMPLOYEE
IB_BLANK/A1 = '';
END

TABLE FILE EMPLOYEE
PRINT 
EMP_ID
HIRE_DATE

LAST_NAME
FIRST_NAME
CURR_SAL
CURR_JOBCODE
ED_HRS
BANK_NAME
BANK_CODE
BANK_ACCT
PCT_INC
SALARY

SEC_CLEAR
SKILLS
SKILL_DESC

BY DEPARTMENT NOPRINT
BY BANK_NAME NOPRINT

BY JOB_DESC NOPRINT
BY JOBCODE NOPRINT

BY EFFECT_DATE NOPRINT
BY DAT_INC NOPRINT

BY LAST_NAME NOPRINT
BY FIRST_NAME NOPRINT

HEADING
"<DEPARTMENT<JOB_DESC<BANK_NAME"
"<IB_BLANK<DEPARTMENT<JOBCODE"
"<IB_BLANK<EFFECT_DATE<DAT_INC"

ON TABLE PCHOLD FORMAT PDF

ON TABLE SET STYLE *
TYPE=REPORT, 
    FONT=Arial, SIZE=7, SQUEEZE=ON, PAGESIZE=LEGAL, ORIENTATION=LANDSCAPE, 
    UNITS=IN,LEFTMARGIN=0.25,RIGHTMARGIN=0.25,TOPMARGIN=0.25,BOTTOMMARGIN=0.25,
$

TYPE=HEADING, HEADALIGN=BODY,$
TYPE=HEADING, OBJECT=FIELD, ITEM=1, COLSPAN=2, JUSTIFY=LEFT, STYLE=NORMAL, SIZE=6, BORDER-RIGHT=LIGHT, COLOR=RED, $
TYPE=HEADING, OBJECT=FIELD, ITEM=2, COLSPAN=10, JUSTIFY=CENTER, BORDER-RIGHT=LIGHT, COLOR=BLUE, $
TYPE=HEADING, OBJECT=FIELD, ITEM=3, COLSPAN=4, JUSTIFY=LEFT, STYLE=NORMAL, SIZE=10, COLOR=GREEN, $
ENDSTYLE
END


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
Guru
posted Hide Post
Thank You for your time. I have submitted a case to support.


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
 
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011Report This Post
Member
posted Hide Post
Hi Jay,

I am also facing the similar problem.

Did you get any solution from IBI case? Can you please post the Case number?

Thanks,
Kumaravel.M
 
Posts: 13 | Registered: September 29, 2008Report This Post
Guru
posted Hide Post
No there wasn't a solution. Fortunately I was rewriting a report originally done in another language and I found out that language had the same problem. So the heading was a little off, but looked just lie the original report.


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
 
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 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     [CASE-OPENED] wf8 Centering Multiple Line Heading accross multiple columns

Copyright © 1996-2020 Information Builders