Focal Point
[CLOSED] Image in PDF subhead

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

April 02, 2018, 02:31 AM
Chaudhary
[CLOSED] Image in PDF subhead
Hi All,

I am displaying some values in subhead and based on the values I need to show up and down arrow image, this image works fine if i don't have any subhead bgcolor ,
once I applied background color to subhead it overlap to image and shows bgcolor only ,

Z-INDEX=TOP and OPACITY=100 does not support in subhead

 TABLE FILE CAR
BY HIGHEST 1 CAR NOPRINT 
ON TABLE SUBHEAD
""
" SALES: <10<TOT.SALES "
"  "
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLENCODE ON
ON TABLE SET STYLE *
TYPE=TABHEADING, BACKCOLOR=green,$
TYPE=TABHEADING, IMAGE='C:\IBI\APPS\DEMO\c.png',  POSITION=(1.75 .05),   $
TYPE=REPORT, GRID=OFF, $
TYPE=HEADING, SIZE=12, STYLE=BOLD, $
TYPE=SUBFOOT, STYLE=BOLD, $
ENDSTYLE
END 


Please advice ,
W.F. 8202M

This message has been edited. Last edited by: FP Mod Chuck,


WF Production :- WF:8.0.0.4, 8.1.05 App-studio/Developer Studio(8.1.x) ,
8.2.0.1M , 8.2.0.2 (App-Studio8.2.x),
InfoAssist/+, InfoDiscovery
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10
April 02, 2018, 05:32 PM
Waz
Looks like your image is behind the background colour.


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!

April 03, 2018, 04:55 AM
Chaudhary
quote:
Looks like your image is behind the background colour.


Yes Waz, In PDF image is behind the background color and i want to display the image along with the background color. It works fine with HTML output .


WF Production :- WF:8.0.0.4, 8.1.05 App-studio/Developer Studio(8.1.x) ,
8.2.0.1M , 8.2.0.2 (App-Studio8.2.x),
InfoAssist/+, InfoDiscovery
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10
April 03, 2018, 04:32 PM
Waz
I suspect that because your image is being added as a background image.

I would searching or suggest asking Tech Support for a technique that may fix your issue.

The only other way I can think of is to change what you are doing to a report.

DEFINE FILE CAR
-*This image is in IBISAMP
 IMG/A50 = 'smplogo1.gif' ;
END

TABLE FILE CAR
SUM COMPUTE TEXT/A10 = 'SALES:' ; AS ''
SALES AS ''
IMG AS ''

ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLENCODE ON
ON TABLE SET STYLE *
TYPE=REPORT, BACKCOLOR=green,$
TYPE=DATA, COLUMN=IMG, IMAGE=(IMG),  POSITION=(1.75 .05),   $
TYPE=REPORT, GRID=OFF, $
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!

April 04, 2018, 08:00 AM
Chaudhary
quote:
I suspect that because your image is being added as a background image.


Hi waz,

I am creating a widget , in this widget I am comparing Current year and Last year values and displaying in subhead if Current Year's value is GT last year than I need to display UP marker image else Down marker image in front of the value.
I have background color in subhead .


WF Production :- WF:8.0.0.4, 8.1.05 App-studio/Developer Studio(8.1.x) ,
8.2.0.1M , 8.2.0.2 (App-Studio8.2.x),
InfoAssist/+, InfoDiscovery
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10
April 04, 2018, 04:54 PM
Waz
I still think asking tech support may be a good idea here, unless you redesign the widget


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!