Focal Point
Italicizing a part of the column

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3131061852

November 20, 2007, 01:42 PM
krishkasi
Italicizing a part of the column
Hi
One of my report needs a part of the column title needs to be Italicized.

Example:
TABLE FILE CAR
PRINT
CAR AS 'CAR,NAME'
SEAT AS 'SEAT'
BY COUNTRY
ON TABLE SET ONLINE-FMT PDF
ON TABLE SET STYLE *
TYPE = TITLE, COLUMN=CAR, STYLE=ITALIC,$
ENDSTYLE
END

I want to Italicize only NAME in the CAR NAME title.

Please let me know if there is anyway to do it?


Regards,
Kasi Krishnan
WF 7.1.4 & WF 7.6.9: Databases - DB2, SQL Server 2000.
OS: Windows & AIX
November 20, 2007, 03:24 PM
FrankDutch
I think you have to do this with html coding in the report something like italic
I never did this but you can also put amper values in there.

-SET &SUBCODE="<I>NAME</I>";
TABLE FILE CAR
PRINT
CAR AS 'CAR,&SUBNAME'
SEAT AS 'SEAT'
BY COUNTRY
END


but if this works in pdf? I do not think so.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

November 20, 2007, 03:25 PM
Prarie
Something new may have come along in later releases that I'm not aware of...but I did this in the past...You will have to Align the Headings with the field.

TABLE FILE CAR
HEADING
"COUNTRY CAR SEAT"
" NAME "
PRINT

CAR AS ' '
SEAT AS ' '
BY COUNTRY AS ' '

ON TABLE SET ONLINE-FMT PDF

ON TABLE SET STYLE *
TYPE=HEADING, HEADALIGN=BODY, $
TYPE=HEADING,COLOR=RED, LINE=2,STYLE=ITALIC,$
ENDSTYLE
END


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
This works:

TABLE FILE CAR
HEADING
"CAR"
"COUNTRY <+0> NAME <+0> SEAT"
" "
PRINT
     CAR      AS ''
     SEAT     AS ''
   BY COUNTRY AS ''
ON TABLE SET ONLINE-FMT PDF
ON TABLE SET STYLE *
UNITS=IN, SQUEEZE=ON, ORIENTATION=PORTRAIT, $
TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=9, $
TYPE=HEADING, HEADALIGN=BODY, SIZE=10, $
TYPE=HEADING, LINE=1, ITEM=1, POSITION=CAR, STYLE=NORMAL,$
TYPE=HEADING, LINE=2, ITEM=2, POSITION=CAR, STYLE=ITALIC,$
ENDSTYLE
END
-EXIT



EDIT: Sorry, Prarie, basically, we have the same thing, posting as you "posted"...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
Well there ya go. Smiler


In Focus since 1993. WebFOCUS 7.7.03 Win 2003