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     [SOLVED] Formatting For Multi-line Titles
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Formatting For Multi-line Titles
 Login/Join
 
Gold member
posted
I would like to turn off the backcolor for the top row of each title ('The') in this example. Any ideas?

TABLE FILE CAR
PRINT
     CAR.SPECS.LENGTH AS 'The,Car,Length'
     CAR.SPECS.WIDTH AS 'The,Car,Width'
     CAR.SPECS.HEIGHT AS 'The,Car,Height'
     CAR.SPECS.WEIGHT AS 'The,Car,Weight'
BY  CAR.ORIGIN.COUNTRY AS 'Country'
BY  CAR.COMP.CAR AS 'Car'
BY  CAR.CARREC.MODEL AS 'Model'
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     PAGESIZE='Letter',
     LEFTMARGIN=0.138889,
     RIGHTMARGIN=1.000000,
     TOPMARGIN=0.250000,
     BOTTOMMARGIN=0.000000,
     SQUEEZE=ON,
     ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
     GRID=OFF,
     FONT='ARIAL',
     SIZE=9,
     RIGHTGAP=0.000000,
     LEFTGAP=0.000000,
$
TYPE=TITLE,
     STYLE=-UNDERLINE,
$
TYPE=TITLE,
     COLUMN=N7,
     COLOR='BLUE',
     BACKCOLOR='LIGHT GRAY',
     STYLE=BOLD+ITALIC,
$
TYPE=TITLE,
     COLUMN=N6,
     COLOR=RGB(255 102 0),
     BACKCOLOR='LIGHT GRAY',
     STYLE=BOLD,
$
TYPE=TITLE,
     COLUMN=N5,
     COLOR='GREEN',
     BACKCOLOR='LIGHT GRAY',
     STYLE=BOLD+ITALIC,
$
TYPE=TITLE,
     COLUMN=N4,
     COLOR='RED',
     BACKCOLOR='LIGHT GRAY',
     STYLE=BOLD,
$
ENDSTYLE
END
 

This message has been edited. Last edited by: Michael L Meagher,


WebFOCUS 8.1.05M - Production
WebFOCUS 8.2.02M - Sand Box
Windows 2012 R2 Server
HTML, PDF, Excel
In FOCUS since 1980
 
Posts: 83 | Location: Seattle, WA | Registered: April 07, 2015Reply With QuoteReport This Post
Expert
posted Hide Post
The only reliable way is to use HEADALIGN:

-* File fp_meagher1.fex

TABLE FILE CAR
PRINT
     CAR.SPECS.LENGTH AS 'Car,Length'
     CAR.SPECS.WIDTH AS 'Car,Width'
     CAR.SPECS.HEIGHT AS 'Car,Height'
     CAR.SPECS.WEIGHT AS 'Car,Weight'
	 
BY  CAR.ORIGIN.COUNTRY AS 'Country'
BY  CAR.COMP.CAR AS 'Car'
BY  CAR.CARREC.MODEL AS 'Model'

HEADING
" <+0> <+0> <+0> The <+0 The <+0 The <+0 The"

ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     PAGESIZE='Letter',
     LEFTMARGIN=0.138889,
     RIGHTMARGIN=1.000000,
     TOPMARGIN=0.250000,
     BOTTOMMARGIN=0.000000,
     SQUEEZE=ON,
     ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
     GRID=OFF,
     FONT='ARIAL',
     SIZE=9,
     RIGHTGAP=0.000000,
     LEFTGAP=0.000000,
$

TYPE=HEADING, HEADALIGN=BODY, JUSTIFY=RIGHT, STYLE=BOLD, $
TYPE=HEADING, ITEM=7, COLOR=BLUE, STYLE=+ITALIC, $
TYPE=HEADING, ITEM=6, COLOR=RGB(255 102 0), $
TYPE=HEADING, ITEM=5, COLOR=GREEN, STYLE=+ITALIC, $
TYPE=HEADING, ITEM=4, COLOR=RED, $

TYPE=TITLE,
     STYLE=-UNDERLINE,
$
TYPE=TITLE,
     COLUMN=N7,
     COLOR='BLUE',
     BACKCOLOR='LIGHT GRAY',
     STYLE=BOLD+ITALIC,
$
TYPE=TITLE,
     COLUMN=N6,
     COLOR=RGB(255 102 0),
     BACKCOLOR='LIGHT GRAY',
     STYLE=BOLD,
$
TYPE=TITLE,
     COLUMN=N5,
     COLOR='GREEN',
     BACKCOLOR='LIGHT GRAY',
     STYLE=BOLD+ITALIC,
$
TYPE=TITLE,
     COLUMN=N4,
     COLOR='RED',
     BACKCOLOR='LIGHT GRAY',
     STYLE=BOLD,
$
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, 2005Reply With QuoteReport This Post
Gold member
posted Hide Post
Thank you Francis. That will work with my actual application.


WebFOCUS 8.1.05M - Production
WebFOCUS 8.2.02M - Sand Box
Windows 2012 R2 Server
HTML, PDF, Excel
In FOCUS since 1980
 
Posts: 83 | Location: Seattle, WA | Registered: April 07, 2015Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Formatting For Multi-line Titles

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