Focal Point
[CLOSED] image in pdf

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

August 22, 2011, 02:44 AM
Jan1
[CLOSED] image in pdf
Hi ,

Please find the attached screenshot in the below link :

http://tinypic.com/view.php?pic=k3vsrm&s=7]

Is it possible to achive this report in PDf format. If so , for the rating should be like an image and i shoud position it ?

Thanks!
janani

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


WebFOCUS 7.6.9
Windows
Excel, HTML, PDF
August 22, 2011, 05:38 PM
Waz
Yes you can.

Here is an example.

The images must be in the APP PATH, so they must exist in one of the app directories, and can only be gif or jpg files.

APP PATH IBISAMP IBIDEMO
 
DEFINE FILE CAR
 Image/A20 = DECODE SEATS(2 'exllogo' 4 'pdflogo' 5 'htmllogo') ;
END
 
TABLE  FILE CAR
 PRINT COUNTRY
       CAR
       MODEL
       SEATS
       Image   
 ON    TABLE SET HTMLCSS ON
 ON    TABLE SET ONLINE-FMT PDF
 ON    TABLE SET STYLE *
    UNITS=IN, SQUEEZE=ON, ORIENTATION=PORTRAIT,$
    TYPE=REPORT, GRID=OFF, FONT='TIMES NEW ROMAN', SIZE=10, COLOR='BLACK',
    BACKCOLOR='NONE', STYLE=NORMAL,$
    TYPE=DATA, COLUMN=N5, IMAGE=(Image),$
 ENDSTYLE
END



Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!