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] formatting heading.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] formatting heading.
 Login/Join
 
Member
posted
I am trying to get the background color for last 2 rows in the heading to line up with the back ground color for the titles. From the example below if I comment in the borders for the data the colors line up -- otherwise they are slightly off. Has anyone else had this problem and knows of a solution?

TABLE FILE CAR
PRINT CAR
MODEL
COUNTRY

HEADING
" "
"Report Name"
"Report Date"
" "
"Floating Header"
" "
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON

ON TABLE SET STYLE *

TYPE = REPORT, FONT='ARIAL', SIZE=8, PAGESIZE= LEGAL , LEFTMARGIN=0.250000, RIGHTMARGIN=0.0500000,
ORIENTATION = LANDSCAPE,SQUEEZE=ON, BOTTOMMARGIN = 0.00, TOPMARGIN = 0.00,$

TYPE=TITLE, BACKCOLOR=RGB(198 219 255),$

TYPE= DATA, BACKCOLOR=WHITE , TOPGAP=0.0138, BOTTOMGAP=0.027778,$
TYPE= DATA, FONT= 'ARIAL', SIZE=8,$
-*TYPE= DATA, BORDER-RIGHT=LIGHT, BORDER-LEFT=LIGHT,$

TYPE = HEADING, LINE=2, SIZE=10 ,STYLE=BOLD,JUSTIFY=CENTER,$
TYPE = HEADING, LINE=3, SIZE=9 ,STYLE=BOLD,JUSTIFY=CENTER,$
TYPE = HEADING, LINE=5, ITEM=1, SIZE=9 ,BACKCOLOR=RGB(198 219 255),STYLE=BOLD, POSITION=P2, TOPGAP=0.025, BOTTOMGAP=0.025,$
TYPE = HEADING, LINE=6, SIZE=9 ,BACKCOLOR=RGB(198 219 255),STYLE=BOLD, POSITION=P2, TOPGAP=0.025, BOTTOMGAP=0.025,$
ENDSTYLE
END

Thanks,
Aneela

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


WebFocus 7.1.3
Developer studio 7.6.4
Windows
Excel, HTML and PDF
 
Posts: 14 | Registered: March 31, 2009Report This Post
Expert
posted Hide Post
I would say this is a bug.

I left your data border styling in comments, and added this line
TYPE= REPORT, BORDER=OFF, $
The PDF is produced with the same gaps as you found. BORDER=OFF is the default and shouldn't change the look of the report. set BORDER=ON and you see the border. Compare the two reports and you will see that adding BORDER=OFF adds the gaps for the non-existent border.

I'd open a case with IBI, but I think bugs like this will not be fixed soon.


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
Hi Francis,
Thanks for your help.
I was hoping maybe there was some clever work around but maybe not.
Thanks,
Aneela


WebFocus 7.1.3
Developer studio 7.6.4
Windows
Excel, HTML and PDF
 
Posts: 14 | Registered: March 31, 2009Report This Post
Guru
posted Hide Post
I can see the misalignment using Dev Studio 5.37.
Using Dev Studio 7.68 the misalignment disappears.
Looks like it got fixed between 7.13 and 7.68.


WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
 
Posts: 320 | Location: Memphis, TN | Registered: February 12, 2008Report This Post
Expert
posted Hide Post
Aneela,

Francis seems to have grasped your concept, I don't think that I do. I see what the results look like with and without that "TYPE= DATA, BORDER-RIGHT=LIGHT, BORDER-LEFT=LIGHT,$". and they both look good. So, I'm guessing that I'm missing something. So, can you post an image of what you get and what you want (visually)?

PS: I'm using 764 on a Vista machine.




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Expert
posted Hide Post
TABLE FILE CAR
SUM
SALES/D10
BY COUNTRY
BY CAR
BY MODEL

HEADING
"Report Name"
" "
"- - - - - - - - - - This is a Floating Header - - - - - - - - - -"

ON TABLE SET PAGE NOLEAD
ON TABLE PCHOLD FORMAT PDF

ON TABLE SET STYLE *

TYPE=REPORT, FONT='ARIAL', SIZE=9, SQUEEZE=ON, $

-*TYPE=REPORT, BORDER=OFF, $

TYPE=TITLE, BACKCOLOR=RGB(198 219 255),$

TYPE=HEADING, STYLE=BOLD, JUSTIFY=CENTER, $
TYPE=HEADING, LINE=3, BACKCOLOR=RGB(198 219 255), $

ENDSTYLE
END



-*-- bug with borders ----------------------------------------------------------

TABLE FILE CAR
SUM
SALES/D10
BY COUNTRY
BY CAR
BY MODEL

HEADING
"Report Name"
" "
"- - - - - - - - - - This is a Floating Header - - - - - - - - - -"

ON TABLE SET PAGE NOLEAD
ON TABLE PCHOLD FORMAT PDF

ON TABLE SET STYLE *

TYPE=REPORT, FONT='ARIAL', SIZE=9, SQUEEZE=ON, $

TYPE=REPORT, BORDER=OFF, $

TYPE=TITLE, BACKCOLOR=RGB(198 219 255),$

TYPE=HEADING, STYLE=BOLD, JUSTIFY=CENTER, $
TYPE=HEADING, LINE=3, BACKCOLOR=RGB(198 219 255), $

ENDSTYLE
END



The only difference between the two is the styling TYPE=REPORT, BORDER=OFF, $. This is in v7.6.5 and Mighty Max suggests it may be fixed in one of the 7.6 versions.


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
I was wrong. The bug is still there in 7.68. Frowner
I can clearly see it now. Thanks to Francis.


WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
 
Posts: 320 | Location: Memphis, TN | Registered: February 12, 2008Report This Post
Expert
posted Hide Post


This is with TYPE=REPORT, BORDER=ON, $


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
  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] formatting heading.

Copyright © 1996-2020 Information Builders