Focal Point
[CLOSED] PDF Report - Image behind Backcolor in Header

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

November 02, 2006, 12:00 PM
isjhb
[CLOSED] PDF Report - Image behind Backcolor in Header
I am trying to create my header for my PDF report. The header consists of a backcolor and 2 lines of text and then one image. The text shows up fine. My problem is my image is hidden behind my color. I cannot find any way to bring it to the front so it sits 'on top' of the color like the text does. Anyone have an ideas.

This message has been edited. Last edited by: Kerry,
November 02, 2006, 12:16 PM
Francis Mariani
I've had this issue before and sort-of resolved it by creating an image (which includes the background colour) that is the width of the PDF page and I don't set a background colour in the WEBFOCUS style sheet.


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
November 09, 2006, 01:59 PM
Kerry
Hi isjhb,

Has this issue been resolved? Did Francis' suggestion help you? Many thanks to Francis. Music

I ran a quick search on Information Builders' online documents and came across the following topic which may be of interest:

How to insert an image into a header in PDF format

Hope this helps. Big Grin

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
November 09, 2006, 02:41 PM
Kamesh
Try this code for PDF,

TABLE FILE CAR
HEADING
"</2"
"TEST HEADING"
PRINT CAR MODEL
WHERE RECORDLIMIT EQ 10
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT,GRID=OFF,SIZE=10,$
TYPE=HEADING,IMAGE='IB_LOGO.GIF',$
TYPE=HEADING,LINE=2,SIZE=12,BACKCOLOR=SILVER,COLOR=BLUE,$
ENDSTYLE
END
-RUN
-EXIT

Hope this helps,


WFConsultant

WF 8105M on Win7/Tomcat
November 14, 2006, 05:14 PM
isjhb
I ended up created a .gif with the backcolor and logo as one.

Thanks.
October 19, 2007, 10:59 AM
Kerry
Hi all,

FYI, this is a previously reported issue. In order to have the image, please remove the backcolor for now until we get this fixed.

Hope this helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
November 12, 2009, 02:21 PM
SauPa
Has this issue been fixed ?

We are using WebFocus 716...


Saurabh Palkar
November 12, 2009, 03:20 PM
Francis Mariani
I'm now on v7.6.5 and it looks like nothing's changed... It's only been three years...


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
November 12, 2009, 04:38 PM
Darin Lee
Instead of using type=heading, backcolor= try using a box object with a backcolor. Your image will appear in front of the box instead of behind it.

Something like

TYPE=REPORT,OBJECT=BOX,POSITION=(0.5 0.5),DIMENSION=(7.5 0.25),BACKCOLOR=BLUE,BORDER=0,$


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
November 16, 2009, 11:32 AM
Francis Mariani
Or try positioning the image:

OBJECT=IMAGE, IMAGE=file, POSITION=(x y), DIMENSION=(xdim ydim), $



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